function ContentEntityConfirmFormBase::getConfirmText

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php \Drupal\Core\Entity\ContentEntityConfirmFormBase::getConfirmText()

File

core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php, line 31

Class

ContentEntityConfirmFormBase
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.