function ReactionRuleAddForm::actions

Overrides EntityForm::actions

File

src/Form/ReactionRuleAddForm.php, line 47

Class

ReactionRuleAddForm
Provides a form to add a reaction 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;
}