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
1 2 3 4 | public function __construct(ConfigFactoryInterface $config_factory , RouteMatchInterface $route_match ) { $this ->configFactory = $config_factory ; $this ->routeMatch = $route_match ; } |
Please login to continue.