Provides a path matcher.
Hierarchy
- class \Drupal\Core\Path\PathMatcher implements PathMatcherInterface
File
- core/lib/Drupal/Core/Path/PathMatcher.php, line 12
Namespace
Drupal\Core\Path
Members
Name | Modifiers | Type | Description |
---|---|---|---|
PathMatcher::$configFactory | protected | property | The config factory service. |
PathMatcher::$frontPage | protected | property | The default front page. |
PathMatcher::$isCurrentFrontPage | protected | property | Whether the current page is the front page. |
PathMatcher::$regexes | protected | property | The cache of regular expressions. |
PathMatcher::$routeMatch | protected | property | The current route match. |
PathMatcher::getFrontPagePath | protected | function | Gets the current front page path. |
PathMatcher::isFrontPage | public | function | Checks if the current page is the front page. Overrides PathMatcherInterface::isFrontPage |
PathMatcher::matchPath | public | function | Checks if a path matches any pattern in a set of patterns. Overrides PathMatcherInterface::matchPath |
PathMatcher::__construct | public | function | Creates a new PathMatcher. |
Please login to continue.