You are here

public function PoolRequired::getDescription 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::getDescription()
  2. 2.1.x src/Form/PoolRequired.php \Drupal\cms_content_sync\Form\PoolRequired::getDescription()

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides ConfirmFormBase::getDescription

File

src/Form/PoolRequired.php, line 27

Class

PoolRequired
Provides a node deletion confirmation form.

Namespace

Drupal\cms_content_sync\Form

Code

public function getDescription() {
  return $this
    ->t('This will redirect you to the pool creation page.');
}