You are here

public function MigrationDeleteForm::getQuestion in Migrate Tools 8

Same name and namespace in other branches
  1. 8.5 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 29
Contains Drupal\migrate_tools\Form\MigrationDeleteForm.

Class

MigrationDeleteForm
Class MigrationDeleteForm.

Namespace

Drupal\migrate_tools\Form

Code

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