You are here

public function RouterRebuildConfirmForm::getDescription in Devel 8

Same name and namespace in other branches
  1. 8.3 src/Form/RouterRebuildConfirmForm.php \Drupal\devel\Form\RouterRebuildConfirmForm::getDescription()
  2. 8.2 src/Form/RouterRebuildConfirmForm.php \Drupal\devel\Form\RouterRebuildConfirmForm::getDescription()
  3. 4.x src/Form/RouterRebuildConfirmForm.php \Drupal\devel\Form\RouterRebuildConfirmForm::getDescription()

Returns additional text to display as a description.

Return value

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

Overrides ConfirmFormBase::getDescription

File

src/Form/RouterRebuildConfirmForm.php, line 66

Class

RouterRebuildConfirmForm
Provides confirmation form for rebuilding the routes.

Namespace

Drupal\devel\Form

Code

public function getDescription() {
  return $this
    ->t('Rebuilds the routes information gathering all routing data from .routing.yml files and from classes which subscribe to the route build events. This action cannot be undone.');
}