You are here

protected function WebformEntityHandlersForm::actionsElement in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformEntityHandlersForm.php \Drupal\webform\WebformEntityHandlersForm::actionsElement()

Returns the action form element for the current entity form.

Overrides EntityForm::actionsElement

File

src/WebformEntityHandlersForm.php, line 211

Class

WebformEntityHandlersForm
Provides a webform to manage submission handlers.

Namespace

Drupal\webform

Code

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;
}