You are here

public function NodeRevisionRevertForm::getDescription in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/node/src/Form/NodeRevisionRevertForm.php \Drupal\node\Form\NodeRevisionRevertForm::getDescription()

Returns additional text to display as a description.

Return value

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

Overrides ConfirmFormBase::getDescription

1 method overrides NodeRevisionRevertForm::getDescription()
NodeRevisionRevertTranslationForm::getDescription in core/modules/node/src/Form/NodeRevisionRevertTranslationForm.php
Returns additional text to display as a description.

File

core/modules/node/src/Form/NodeRevisionRevertForm.php, line 107

Class

NodeRevisionRevertForm
Provides a form for reverting a node revision.

Namespace

Drupal\node\Form

Code

public function getDescription() {
  return '';
}