mirocow\eav\widgets\CheckBoxList::run PHP Method

run() public method

public run ( )
    public function run()
    {
        $options = $this->attributeModel->getEavOptions()->asArray()->all();
        return $this->owner->activeForm->field($this->owner, $this->getAttributeName(), ['template' => "{input}\n{hint}\n{error}"])->checkboxList(ArrayHelper::map($options, 'id', 'value'));
    }
CheckBoxList