function EntityConfirmFormBase::getConfirmText

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::getConfirmText()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::getConfirmText()
  3. 10 core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::getConfirmText()

Overrides ConfirmFormInterface::getConfirmText

1 call to EntityConfirmFormBase::getConfirmText()
EntityConfirmFormBase::actions in core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php
6 methods override EntityConfirmFormBase::getConfirmText()
BreakLockForm::getConfirmText in core/modules/views_ui/src/Form/BreakLockForm.php
Returns a caption for the button that confirms the action.
FilterDisableForm::getConfirmText in core/modules/filter/src/Form/FilterDisableForm.php
Returns a caption for the button that confirms the action.
FilterEnableForm::getConfirmText in core/modules/filter/src/Form/FilterEnableForm.php
Returns a caption for the button that confirms the action.
ImageStyleFlushForm::getConfirmText in core/modules/image/src/Form/ImageStyleFlushForm.php
Returns a caption for the button that confirms the action.
VocabularyResetForm::getConfirmText in core/modules/taxonomy/src/Form/VocabularyResetForm.php
Returns a caption for the button that confirms the action.

... See full list

File

core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php, line 33

Class

EntityConfirmFormBase
Provides a generic base class for an entity-based confirmation form.

Namespace

Drupal\Core\Entity

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.