protected function WebformUiEntityElementsForm::actionsElement in Webform 6.x
Same name and namespace in other branches
- 8.5 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 269
Class
- WebformUiEntityElementsForm
- Webform manage elements UI form.
Namespace
Drupal\webform_uiCode
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;
}