RouteProviderInterface::getRoutesByPattern

public RouteProviderInterface::getRoutesByPattern($pattern)

Get all routes which match a certain pattern.

Parameters

string $pattern: The route pattern to search for (contains {} as placeholders).

Return value

\Symfony\Component\Routing\RouteCollection Returns a route collection of matching routes.

File

core/lib/Drupal/Core/Routing/RouteProviderInterface.php, line 23

Class

RouteProviderInterface
Extends the router provider interface

Namespace

Drupal\Core\Routing

Code

public function getRoutesByPattern($pattern);
doc_Drupal
2016-10-29 09:39:20
Comments
Leave a Comment

Please login to continue.