function PathMatcher::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Path/PathMatcher.php \Drupal\Core\Path\PathMatcher::__construct()
- 8.9.x core/lib/Drupal/Core/Path/PathMatcher.php \Drupal\Core\Path\PathMatcher::__construct()
- 10 core/lib/Drupal/Core/Path/PathMatcher.php \Drupal\Core\Path\PathMatcher::__construct()
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\PathCode
public function __construct(ConfigFactoryInterface $config_factory, RouteMatchInterface $route_match) {
$this->configFactory = $config_factory;
$this->routeMatch = $route_match;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.