You are here

service path.validator in Drupal 10

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

Class

Drupal\Core\Path\PathValidator
18 string references to path.validator
ConfirmFormHelperTest::testCancelLinkDestination in core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php
@covers ::buildCancelLink
ContactFormEditForm::create in core/modules/contact/src/ContactFormEditForm.php
Instantiates a new instance of this class.
CustomPageExceptionHtmlSubscriberTest::setUp in core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php
Drupal::pathValidator in core/lib/Drupal.php
Returns the path validator.
DrupalTest::testPathValidator in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the pathValidator() method.

... See full list

File

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

View source
  1. class: Drupal\Core\Path\PathValidator
  2. arguments:
  3. - '@router'
  4. - '@router.no_access_checks'
  5. - '@current_user'
  6. - '@path_processor_manager'