protected function MigrationGroupAddForm::actions in Migrate Tools 8
Same name and namespace in other branches
- 8.5 src/Form/MigrationGroupAddForm.php \Drupal\migrate_tools\Form\MigrationGroupAddForm::actions()
- 8.2 src/Form/MigrationGroupAddForm.php \Drupal\migrate_tools\Form\MigrationGroupAddForm::actions()
- 8.3 src/Form/MigrationGroupAddForm.php \Drupal\migrate_tools\Form\MigrationGroupAddForm::actions()
- 8.4 src/Form/MigrationGroupAddForm.php \Drupal\migrate_tools\Form\MigrationGroupAddForm::actions()
Returns the actions provided by this form.
For our add form, we only need to change the text of the submit button.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: An associative array containing the current state of the form.
Return value
array An array of supported actions for the current entity form.
Overrides MigrationGroupFormBase::actions
File
- src/
Form/ MigrationGroupAddForm.php, line 36 - Contains Drupal\migrate_tools\Form\MigrationGroupAddForm.
Class
- MigrationGroupAddForm
- Class MigrationGroupAddForm.
Namespace
Drupal\migrate_tools\FormCode
protected function actions(array $form, FormStateInterface $form_state) {
$actions = parent::actions($form, $form_state);
$actions['submit']['#value'] = $this
->t('Create Migration Group');
return $actions;
}