You are here

public function SupernovaGenerator::getRouteDebugMessage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php \Drupal\help_test\SupernovaGenerator::getRouteDebugMessage()

Convert a route identifier (name, content object etc) into a string usable for logging and other debug/error messages

Parameters

mixed $name:

array $parameters which should contain a content field containing: a RouteReferrersReadInterface object

Return value

string

Overrides VersatileGeneratorInterface::getRouteDebugMessage

File

core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php, line 63
Contains \Drupal\help_test\SupernovaGenerator.

Class

SupernovaGenerator
Implements a URL generator which always thrown an exception.

Namespace

Drupal\help_test

Code

public function getRouteDebugMessage($name, array $parameters = array()) {
  throw new \Exception();
}