You are here

service path.matcher in Drupal 8

Same name and namespace in other branches
  1. 9 core/core.services.yml \path.matcher
  2. 10 core/core.services.yml \path.matcher

Class

Drupal\Core\Path\PathMatcher
5 string references to path.matcher
LanguageBlock::create in core/modules/language/src/Plugin/Block/LanguageBlock.php
Creates an instance of the plugin.
PathBasedBreadcrumbBuilder::__construct in core/modules/system/src/PathBasedBreadcrumbBuilder.php
Constructs the PathBasedBreadcrumbBuilder.
RegistryTest::test40xThemeSuggestions in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests page theme suggestions for 40x responses.
RegistryTest::testThemeSuggestions in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests front node theme suggestion generation.
RequestPath::create in core/modules/system/src/Plugin/Condition/RequestPath.php
Creates an instance of the plugin.

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Path\PathMatcher
  2. arguments:
  3. - '@config.factory'
  4. - '@current_route_match'