You are here

protected function ViewDuplicateForm::actions in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/ViewDuplicateForm.php \Drupal\views_ui\ViewDuplicateForm::actions()
  2. 9 core/modules/views_ui/src/ViewDuplicateForm.php \Drupal\views_ui\ViewDuplicateForm::actions()

File

core/modules/views_ui/src/ViewDuplicateForm.php, line 54

Class

ViewDuplicateForm
Form controller for the Views duplicate form.

Namespace

Drupal\views_ui

Code

protected function actions(array $form, FormStateInterface $form_state) {
  $actions['submit'] = [
    '#type' => 'submit',
    '#value' => $this
      ->t('Duplicate'),
  ];
  return $actions;
}