function NodeTypeForm::actions
Same name and namespace in other branches
- 9 core/modules/node/src/NodeTypeForm.php \Drupal\node\NodeTypeForm::actions()
Overrides EntityForm::actions
File
-
core/
modules/ node/ src/ NodeTypeForm.php, line 203
Class
- NodeTypeForm
- Form handler for node type forms.
Namespace
Drupal\nodeCode
protected function actions(array $form, FormStateInterface $form_state) {
$actions = parent::actions($form, $form_state);
$actions['submit']['#value'] = t('Save content type');
return $actions;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.