You are here

public function MigrationDeleteForm::getQuestion in Migrate Tools 8.5

Same name and namespace in other branches
  1. 8 src/Form/MigrationDeleteForm.php \Drupal\migrate_tools\Form\MigrationDeleteForm::getQuestion()
  2. 8.2 src/Form/MigrationDeleteForm.php \Drupal\migrate_tools\Form\MigrationDeleteForm::getQuestion()
  3. 8.3 src/Form/MigrationDeleteForm.php \Drupal\migrate_tools\Form\MigrationDeleteForm::getQuestion()
  4. 8.4 src/Form/MigrationDeleteForm.php \Drupal\migrate_tools\Form\MigrationDeleteForm::getQuestion()

Gathers a confirmation question.

Return value

string Translated string.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/MigrationDeleteForm.php, line 24

Class

MigrationDeleteForm
Provides the delete form for our Migration entity.

Namespace

Drupal\migrate_tools\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete migration %label?', [
    '%label' => $this->entity
      ->label(),
  ]);
}