You are here

protected function WebformUiEntityElementsForm::actionsElement in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_ui/src/WebformUiEntityElementsForm.php \Drupal\webform_ui\WebformUiEntityElementsForm::actionsElement()

Returns the action form element for the current entity form.

Overrides EntityForm::actionsElement

File

modules/webform_ui/src/WebformUiEntityElementsForm.php, line 292

Class

WebformUiEntityElementsForm
Webform manage elements UI form.

Namespace

Drupal\webform_ui

Code

protected function actionsElement(array $form, FormStateInterface $form_state) {
  $form = parent::actionsElement($form, $form_state);
  $form['submit']['#value'] = $this
    ->t('Save elements');
  unset($form['delete']);
  return $form;
}