You are here

public function PoolDeleteForm::getQuestion in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Form/PoolDeleteForm.php \Drupal\cms_content_sync\Form\PoolDeleteForm::getQuestion()
  2. 2.0.x src/Form/PoolDeleteForm.php \Drupal\cms_content_sync\Form\PoolDeleteForm::getQuestion()

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/PoolDeleteForm.php, line 46

Class

PoolDeleteForm
Builds the form to delete an Pool.

Namespace

Drupal\cms_content_sync\Form

Code

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