function ActionFormBase::actions
Same name in other branches
- 9 core/modules/action/src/Form/ActionFormBase.php \Drupal\action\Form\ActionFormBase::actions()
- 8.9.x core/modules/action/src/Form/ActionFormBase.php \Drupal\action\Form\ActionFormBase::actions()
- 11.x core/modules/action/src/Form/ActionFormBase.php \Drupal\action\Form\ActionFormBase::actions()
Overrides EntityForm::actions
File
-
core/
modules/ action/ src/ Form/ ActionFormBase.php, line 104
Class
- ActionFormBase
- Provides a base form for action forms.
Namespace
Drupal\action\FormCode
protected function actions(array $form, FormStateInterface $form_state) {
$actions = parent::actions($form, $form_state);
unset($actions['delete']);
return $actions;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.