You are here

public function EventTypeRuleDeleteAll::getDescription in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 8 src/Form/EventTypeRuleDeleteAll.php \Drupal\rng\Form\EventTypeRuleDeleteAll::getDescription()
  2. 3.x src/Form/EventTypeRuleDeleteAll.php \Drupal\rng\Form\EventTypeRuleDeleteAll::getDescription()

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides ConfirmFormBase::getDescription

File

src/Form/EventTypeRuleDeleteAll.php, line 79

Class

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

Namespace

Drupal\rng\Form

Code

public function getDescription() {
  return $this
    ->t('All custom rules for events will be deleted. All events will use event type defaults.');
}