You are here

public function PollDeleteForm::getDescription in Poll 8

Returns additional text to display as a description.

Return value

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

Overrides ContentEntityConfirmFormBase::getDescription

File

src/Form/PollDeleteForm.php, line 17

Class

PollDeleteForm
Provides a form for deleting a poll.

Namespace

Drupal\poll\Form

Code

public function getDescription() {
  return t('All associated votes will be deleted too. This action cannot be undone.');
}