/** * @param Model $model */ protected function executeCustomAction(Model $model) { if ($this->customAction) { $this->form->getActions()->execute($model, $this->customAction); } }