public EntityDeleteFormTrait::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
string The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
File
- core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php, line 56
Class
- EntityDeleteFormTrait
- Provides a trait for an entity deletion form.
Namespace
Drupal\Core\Entity
Code
public function getConfirmText() { return $this->t('Delete'); }
Please login to continue.