protected function MigrationFormBase::actions in Migrate Tools 8
Same name and namespace in other branches
- 8.5 src/Form/MigrationFormBase.php \Drupal\migrate_tools\Form\MigrationFormBase::actions()
- 8.2 src/Form/MigrationFormBase.php \Drupal\migrate_tools\Form\MigrationFormBase::actions()
- 8.3 src/Form/MigrationFormBase.php \Drupal\migrate_tools\Form\MigrationFormBase::actions()
- 8.4 src/Form/MigrationFormBase.php \Drupal\migrate_tools\Form\MigrationFormBase::actions()
Overrides Drupal\Core\Entity\EntityFormController::actions().
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 EntityForm::actions
2 calls to MigrationFormBase::actions()
- MigrationAddForm::actions in src/
Form/ MigrationAddForm.php - Returns the actions provided by this form.
- MigrationEditForm::actions in src/
Form/ MigrationEditForm.php - Returns the actions provided by this form.
2 methods override MigrationFormBase::actions()
- MigrationAddForm::actions in src/
Form/ MigrationAddForm.php - Returns the actions provided by this form.
- MigrationEditForm::actions in src/
Form/ MigrationEditForm.php - Returns the actions provided by this form.
File
- src/
Form/ MigrationFormBase.php, line 161 - Contains Drupal\migrate_tools\Form\MigrationFormBase.
Class
- MigrationFormBase
- Class MigrationFormBase.
Namespace
Drupal\migrate_tools\FormCode
protected function actions(array $form, FormStateInterface $form_state) {
// Get the basic actins from the base class.
$actions = parent::actions($form, $form_state);
// Change the submit button text.
$actions['submit']['#value'] = $this
->t('Save');
// Return the result.
return $actions;
}