You are here

public function DeleteTermsConfirm::getQuestion in Taxonomy Multi-delete Terms 8

Returns the question to ask the user.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/DeleteTermsConfirm.php, line 47

Class

DeleteTermsConfirm
Defines a confirmation form for deleting term data.

Namespace

Drupal\taxonomy_multidelete_terms\Form

Code

public function getQuestion() {

  // The question to display to the user.
  return t('Are you sure you want to delete these taxonomy terms?');
}