public function EntityConfirmFormBase::getConfirmText in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::getConfirmText()
- 9 core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::getConfirmText()
1 method overrides EntityConfirmFormBase::getConfirmText()
- VocabularyResetForm::getConfirmText in core/
modules/ taxonomy/ src/ Form/ VocabularyResetForm.php - Returns a caption for the button that confirms the action.
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\EntityCode
public function getConfirmText() {
return $this
->t('Confirm');
}