function RulesComponentAddForm::actions
Overrides EntityForm::actions
File
-
src/
Form/ RulesComponentAddForm.php, line 34
Class
- RulesComponentAddForm
- Provides a form to add a component.
Namespace
Drupal\rules\FormCode
protected function actions(array $form, FormStateInterface $form_state) {
$actions = parent::actions($form, $form_state);
$actions['submit']['#value'] = $this->t('Save');
return $actions;
}