public function CompiledRoute::getPatternOutline

public 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 106

Class

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

Namespace

Drupal\Core\Routing

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!CompiledRoute.php/function/CompiledRoute::getPatternOutline/8.1.x