You are here

public function CandidateNodesRevisionsDeleteForm::getDescription in Node Revision Delete 8

Returns additional text to display as a description.

Return value

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

Overrides ConfirmFormBase::getDescription

File

src/Form/CandidateNodesRevisionsDeleteForm.php, line 94

Class

CandidateNodesRevisionsDeleteForm
Provides a candidate node revision deletion confirmation form.

Namespace

Drupal\node_revision_delete\Form

Code

public function getDescription() {
  $description = '<p>' . $this
    ->t('This action will delete the candidate revisions for the "@node_title" content type.', [
    '@node_title' => $this->node
      ->getTitle(),
  ]) . '</p>';
  $description .= '<p>' . parent::getDescription() . '</p>';
  return $description;
}