function ImageStyleAddForm::actions
Same name in other branches
- 8.9.x core/modules/image/src/Form/ImageStyleAddForm.php \Drupal\image\Form\ImageStyleAddForm::actions()
- 10 core/modules/image/src/Form/ImageStyleAddForm.php \Drupal\image\Form\ImageStyleAddForm::actions()
- 11.x core/modules/image/src/Form/ImageStyleAddForm.php \Drupal\image\Form\ImageStyleAddForm::actions()
Overrides EntityForm::actions
File
-
core/
modules/ image/ src/ Form/ ImageStyleAddForm.php, line 25
Class
- ImageStyleAddForm
- Controller for image style addition forms.
Namespace
Drupal\image\FormCode
public function actions(array $form, FormStateInterface $form_state) {
$actions = parent::actions($form, $form_state);
$actions['submit']['#value'] = $this->t('Create new style');
return $actions;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.