service path.validator in Drupal 9
Same name and namespace in other branches
- 8 core/core.services.yml \path.validator
Class
Drupal\Core\Path\PathValidator17 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.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Path\PathValidator
- arguments:
- - '@router'
- - '@router.no_access_checks'
- - '@current_user'
- - '@path_processor_manager'