You are here

public function NodeRevisionRevertForm::getDescription in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/node/src/Form/NodeRevisionRevertForm.php \Drupal\node\Form\NodeRevisionRevertForm::getDescription()
  2. 9 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

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 '';
}