PathMatcher::__construct

public PathMatcher::__construct(ConfigFactoryInterface $config_factory, RouteMatchInterface $route_match)

Creates a new PathMatcher.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.

File

core/lib/Drupal/Core/Path/PathMatcher.php, line 57

Class

PathMatcher
Provides a path matcher.

Namespace

Drupal\Core\Path

Code

public function __construct(ConfigFactoryInterface $config_factory, RouteMatchInterface $route_match) {
  $this->configFactory = $config_factory;
  $this->routeMatch = $route_match;
}
doc_Drupal
2016-10-29 09:33:28
Comments
Leave a Comment

Please login to continue.