You are here

public function EventSeriesDeleteForm::getDescription in Booking and Availability Management Tools for Drupal 8

Returns additional text to display as a description.

Return value

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

Overrides ContentEntityConfirmFormBase::getDescription

File

modules/bat_event_series/src/Entity/Form/EventSeriesDeleteForm.php, line 60
Contains \Drupal\bat_event_series\Entity\Form\EventSeriesDeleteForm.

Class

EventSeriesDeleteForm
Provides a form for deleting Event series entities.

Namespace

Drupal\bat_event_series\Entity\Form

Code

public function getDescription() {
  return $this
    ->t('Are you sure you want to do this?');
}