protected function MaestroTemplateAddForm::actions in Maestro 3.x
Same name and namespace in other branches
- 8.2 src/Form/MaestroTemplateAddForm.php \Drupal\maestro\Form\MaestroTemplateAddForm::actions()
Returns the actions provided by this form.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The form's form state.
Return value
array An array of supported actions for the current entity form.
Overrides MaestroTemplateFormBase::actions
File
- src/
Form/ MaestroTemplateAddForm.php, line 29
Class
- MaestroTemplateAddForm
- Class MaestroTemplateAddForm.
Namespace
Drupal\maestro\FormCode
protected function actions(array $form, FormStateInterface $form_state) {
$actions = parent::actions($form, $form_state);
$actions['submit']['#value'] = $this
->t('Create Template');
return $actions;
}