protected function renderIcon()
{
if (!$this->icon) {
return '';
}
return Icon::widget(['name' => ArrayHelper::getValue($this->icon, 'name', null), 'position' => ArrayHelper::getValue($this->icon, 'position', null), 'options' => ArrayHelper::getValue($this->icon, 'options', [])]);
}