function CompiledRoute::getPatternOutline

Same name in other branches
  1. 9 core/lib/Drupal/Core/Routing/CompiledRoute.php \Drupal\Core\Routing\CompiledRoute::getPatternOutline()
  2. 10 core/lib/Drupal/Core/Routing/CompiledRoute.php \Drupal\Core\Routing\CompiledRoute::getPatternOutline()
  3. 11.x core/lib/Drupal/Core/Routing/CompiledRoute.php \Drupal\Core\Routing\CompiledRoute::getPatternOutline()

Returns the pattern outline of this route.

The pattern outline of a route is the path pattern of the route, but normalized such that all placeholders are replaced with %.

Return value

string The normalized path pattern.

File

core/lib/Drupal/Core/Routing/CompiledRoute.php, line 109

Class

CompiledRoute
A compiled route contains derived information from a route object.

Namespace

Drupal\Core\Routing

Code

public function getPatternOutline() {
    return $this->patternOutline;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.