Returns a caption for the button that confirms the action.
Return value
string
The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- drupal/core/modules/menu/lib/Drupal/menu/Form/MenuDeleteMenuForm.php, line 56
- Contains \Drupal\menu\Form\MenuDeleteMenuForm.
Class
- MenuDeleteMenuForm
- Defines a confirmation form for deletion of a custom menu.
Namespace
Drupal\menu\Form
Code
protected function getConfirmText() {
return t('Delete');
}