You are here

public function ResetStatusEntityConfirmation::getQuestion in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Form/ResetStatusEntityConfirmation.php \Drupal\cms_content_sync\Form\ResetStatusEntityConfirmation::getQuestion()
  2. 2.0.x src/Form/ResetStatusEntityConfirmation.php \Drupal\cms_content_sync\Form\ResetStatusEntityConfirmation::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/ResetStatusEntityConfirmation.php, line 86

Class

ResetStatusEntityConfirmation
Provides the confirmation form for the pool reset entity status action.

Namespace

Drupal\cms_content_sync\Form

Code

public function getQuestion() {
  return 'Are you sure you want to reset the status entities for the Pool: "' . $this->pool
    ->label() . '"?';
}