path.validator

Same name in other branches
  1. 9 core/core.services.yml \path.validator
  2. 8.9.x core/core.services.yml \path.validator

Class

Drupal\Core\Path\PathValidator
17 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

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.