You are here

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

Class

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

Namespace

Drupal\cms_content_sync\Form

Code

public function getConfirmText() {
  return t('Confirm');
}