You are here

public function EntityDeleteFormTrait::getConfirmText in Zircon Profile 8

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

File

core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php, line 61
Contains \Drupal\Core\Entity\EntityDeleteFormTrait.

Class

EntityDeleteFormTrait
Provides a trait for an entity deletion form.

Namespace

Drupal\Core\Entity

Code

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