You are here

public function MessageDigestIntervalDeleteForm::getDescription in Message Digest 8

Returns additional text to display as a description.

Return value

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

Overrides EntityConfirmFormBase::getDescription

File

src/Form/MessageDigestIntervalDeleteForm.php, line 31

Class

MessageDigestIntervalDeleteForm
Digest interval delete form.

Namespace

Drupal\message_digest\Form

Code

public function getDescription() {
  return $this
    ->t('Delete %interval interval? This action cannot be undone.', [
    '%interval' => $this->entity
      ->label(),
  ]);
}