You are here

public function EventTypeRuleDeleteAll::getConfirmText in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/Form/EventTypeRuleDeleteAll.php \Drupal\rng\Form\EventTypeRuleDeleteAll::getConfirmText()
  2. 8 src/Form/EventTypeRuleDeleteAll.php \Drupal\rng\Form\EventTypeRuleDeleteAll::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/EventTypeRuleDeleteAll.php, line 86

Class

EventTypeRuleDeleteAll
Form controller to delete all custom rules for an event type.

Namespace

Drupal\rng\Form

Code

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