You are here

public function OgMenuDeleteForm::getConfirmText in Organic Groups Menu (OG Menu) 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/OgMenuDeleteForm.php, line 31

Class

OgMenuDeleteForm
Builds the form to delete OG Menu entities.

Namespace

Drupal\og_menu\Form

Code

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