skeeks\cms\models\CmsDashboardWidget::getName PHP Method

getName() public method

public getName ( ) : string
return string
    public function getName()
    {
        if ($this->widget) {
            if ($this->widget->getAttributes(['name'])) {
                return (string) $this->widget->name;
            }
        }
        return '';
    }