You are here

public function MenuPositionRuleDeleteForm::getConfirmText in Menu Position 8

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/MenuPositionRuleDeleteForm.php, line 80

Class

MenuPositionRuleDeleteForm
Builds the form to delete a Example.

Namespace

Drupal\menu_position\Form

Code

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