public function SimpleMegaMenuRevisionDeleteForm::getConfirmText in Simple Mega Menu 8
Same name and namespace in other branches
- 2.0.x src/Form/SimpleMegaMenuRevisionDeleteForm.php \Drupal\simple_megamenu\Form\SimpleMegaMenuRevisionDeleteForm::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/ SimpleMegaMenuRevisionDeleteForm.php, line 100
Class
- SimpleMegaMenuRevisionDeleteForm
- Provides a form for deleting a Simple mega menu revision.
Namespace
Drupal\simple_megamenu\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}