You are here

public function MenuDeleteForm::getConfirmText in Colossal Menu 8

Same name and namespace in other branches
  1. 2.x src/Form/MenuDeleteForm.php \Drupal\colossal_menu\Form\MenuDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/MenuDeleteForm.php, line 31

Class

MenuDeleteForm
Builds the form to delete Menu entities.

Namespace

Drupal\colossal_menu\Form

Code

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