kartik\social\Widget::getConfig PHP Метод

getConfig() публичный Метод

Gets configuration for a widget from the module
public getConfig ( string $widget ) : array
$widget string name of the widget
Результат array
    public function getConfig($widget)
    {
        $module = Config::getModule($this->moduleName);
        return isset($module->{$widget}) ? $module->{$widget} : [];
    }