path.validator

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

Class

Drupal\Core\Path\PathValidator
16 string references to path.validator
ConfirmFormHelperTest::testCancelLinkDestination in core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php
@covers ::buildCancelLink[[api-linebreak]]
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.
FieldPluginBaseTest::setUp in core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php

... 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.