protected function YamlFormEntityHandlersForm::actionsElement in YAML Form 8
Returns the action form element for the current entity form.
Overrides EntityForm::actionsElement
File
- src/
YamlFormEntityHandlersForm.php, line 150
Class
- YamlFormEntityHandlersForm
- Provides a form to manage submission handlers.
Namespace
Drupal\yamlformCode
protected function actionsElement(array $form, FormStateInterface $form_state) {
$form = parent::actionsElement($form, $form_state);
$form['submit']['#value'] = $this
->t('Save handlers');
unset($form['delete']);
return $form;
}