Same name in other branches
  1. 8.x-3.x src/Form/QuickTabsInstanceDuplicateForm.php \Drupal\quicktabs\Form\QuickTabsInstanceDuplicateForm::actions()

Fichier

src/Form/QuickTabsInstanceDuplicateForm.php, line 53

Classe

QuickTabsInstanceDuplicateForm
Class QuickTabsInstanceDuplicateForm.

Namespace

Drupal\quicktabs\Form

Code

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