You are here

public function EventTypeRuleDeleteAll::getConfirmText in RNG - Events and Registrations 8

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

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');
}