function NodeTypeForm::actions
Same name in other branches
- 8.9.x core/modules/node/src/NodeTypeForm.php \Drupal\node\NodeTypeForm::actions()
Overrides EntityForm::actions
File
-
core/
modules/ node/ src/ NodeTypeForm.php, line 194
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'] = $this->t('Save content type');
return $actions;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.