3 namespace Drupal\migrate_tools\Form;
5 use Drupal\Core\Form\FormStateInterface;
8 * Provides the edit form for our Migration Group entity.
10 * @package Drupal\migrate_tools\Form
12 * @ingroup migrate_tools
14 class MigrationGroupEditForm extends MigrationGroupFormBase {
17 * Returns the actions provided by this form.
19 * For the edit form, we only need to change the text of the submit button.
22 * An associative array containing the structure of the form.
23 * @param \Drupal\Core\Form\FormStateInterface $form_state
24 * An associative array containing the current state of the form.
27 * An array of supported actions for the current entity form.
29 public function actions(array $form, FormStateInterface $form_state) {
30 $actions = parent::actions($form, $form_state);
31 $actions['submit']['#value'] = t('Update Migration Group');