kartik\helpers\Html::getPanelContent PHP Method

getPanelContent() protected static method

Generates panel content
protected static getPanelContent ( array $content, string $type ) : string
$content array the panel content components.
$type string one of the content settings
return string
    protected static function getPanelContent($content, $type)
    {
        $out = ArrayHelper::getValue($content, $type, '');
        return !Enum::isEmpty($out) ? $out . "\n" : '';
    }