You are here

public function TaxonomyMenuDeleteForm::getConfirmText in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 modules/taxonomy_menu/src/Form/TaxonomyMenuDeleteForm.php \Drupal\taxonomy_menu\Form\TaxonomyMenuDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

modules/taxonomy_menu/src/Form/TaxonomyMenuDeleteForm.php, line 35
Contains Drupal\taxonomy_menu\Form\TaxonomyMenuDeleteForm.

Class

TaxonomyMenuDeleteForm
Builds the form to delete a TaxonomyMenu.

Namespace

Drupal\taxonomy_menu\Form

Code

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