You are here

public function PoolDeleteForm::getConfirmText 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::getConfirmText()
  2. 2.0.x src/Form/PoolDeleteForm.php \Drupal\cms_content_sync\Form\PoolDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

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

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/PoolDeleteForm.php, line 54

Class

PoolDeleteForm
Builds the form to delete an Pool.

Namespace

Drupal\cms_content_sync\Form

Code

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