protected function ViewCloneFormController::actions

Overrides \Drupal\Core\Entity\EntityFormController::actions().

Overrides EntityFormController::actions

File

drupal/core/modules/views/views_ui/lib/Drupal/views_ui/ViewCloneFormController.php, line 56
Contains \Drupal\views_ui\ViewCloneFormController.

Class

ViewCloneFormController
Form controller for the Views clone form.

Namespace

Drupal\views_ui

Code

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