function AddEventForm::actions

File

src/Form/AddEventForm.php, line 67

Class

AddEventForm
UI form to add an event to a rule.

Namespace

Drupal\rules\Form

Code

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