MenuLinkResetForm::getConfirmText

public MenuLinkResetForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

core/modules/menu_ui/src/Form/MenuLinkResetForm.php, line 84

Class

MenuLinkResetForm
Defines a confirmation form for resetting a single modified menu link.

Namespace

Drupal\menu_ui\Form

Code

public function getConfirmText() {
  return $this->t('Reset');
}
doc_Drupal
2016-10-29 09:27:14
Comments
Leave a Comment

Please login to continue.