protected function WebformDevelEntitySchemaForm::actionsElement in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_devel/src/Form/WebformDevelEntitySchemaForm.php \Drupal\webform_devel\Form\WebformDevelEntitySchemaForm::actionsElement()
Returns the action form element for the current entity form.
Overrides EntityForm::actionsElement
File
- modules/
webform_devel/ src/ Form/ WebformDevelEntitySchemaForm.php, line 115
Class
- WebformDevelEntitySchemaForm
- Get webform schema.
Namespace
Drupal\webform_devel\FormCode
protected function actionsElement(array $form, FormStateInterface $form_state) {
$actions = parent::actionsElement($form, $form_state);
unset($actions['delete']);
$actions['submit']['#value'] = $this
->t('Export');
$actions['reset']['#attributes']['style'] = 'display: none';
return $actions;
}