public function MenuDeleteItem::getConfirmText in Menu Delete 8
Same name and namespace in other branches
- 8.2 src/Form/MenuDeleteItem.php \Drupal\menu_delete\Form\MenuDeleteItem::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- src/
Form/ MenuDeleteItem.php, line 93
Class
- MenuDeleteItem
- Class MenuDeleteItem.
Namespace
Drupal\menu_delete\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}