You are here

public function MetadataBubblingUrlGenerator::getRouteDebugMessage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php \Drupal\Core\Render\MetadataBubblingUrlGenerator::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/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php, line 127
Contains \Drupal\Core\Render\MetadataBubblingUrlGenerator.

Class

MetadataBubblingUrlGenerator
Decorator for the URL generator, which bubbles bubbleable URL metadata.

Namespace

Drupal\Core\Render

Code

public function getRouteDebugMessage($name, array $parameters = array()) {
  return $this->urlGenerator
    ->getRouteDebugMessage($name, $parameters);
}