You are here

public function PoolRequired::getQuestion in CMS Content Sync 2.0.x

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

Class

PoolRequired
Provides a node deletion confirmation form.

Namespace

Drupal\cms_content_sync\Form

Code

public function getQuestion() {
  return $this
    ->t('Before you can create a flow, you have to create at least one pool before. Do you want to create a pool now?');
}