EntityDeleteFormTrait::getConfirmText

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');
}
doc_Drupal
2016-10-29 09:05:08
Comments
Leave a Comment

Please login to continue.