function DateFormatAddForm::actions
Same name in other branches
- 9 core/modules/system/src/Form/DateFormatAddForm.php \Drupal\system\Form\DateFormatAddForm::actions()
- 10 core/modules/system/src/Form/DateFormatAddForm.php \Drupal\system\Form\DateFormatAddForm::actions()
- 11.x core/modules/system/src/Form/DateFormatAddForm.php \Drupal\system\Form\DateFormatAddForm::actions()
Overrides EntityForm::actions
File
-
core/
modules/ system/ src/ Form/ DateFormatAddForm.php, line 17
Class
- DateFormatAddForm
- Provides a form for adding a date format.
Namespace
Drupal\system\FormCode
protected function actions(array $form, FormStateInterface $form_state) {
$actions = parent::actions($form, $form_state);
$actions['submit']['#value'] = t('Add format');
return $actions;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.