You are here

service path.validator in Zircon Profile 8

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

Class

Drupal\Core\Path\PathValidator
13 string references to path.validator
ConfirmFormHelperTest::testCancelLinkDestination in core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php
@covers ::buildCancelLink
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
FieldUiTest::setUp in core/modules/field_ui/tests/src/Unit/FieldUiTest.php

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