You are here

public function PoolRequired::getConfirmText in CMS Content Sync 8

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

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

src/Form/PoolRequired.php, line 51

Class

PoolRequired
Provides a node deletion confirmation form.

Namespace

Drupal\cms_content_sync\Form

Code

public function getConfirmText() {
  return $this
    ->t('Create pool');
}