Search for path

  1. Search 7.x for path
  2. Search 8.9.x for path
  3. Search 10.3.x for path
  4. Search 11.x for path
  5. Other projects
Title Object type File name Summary
PathRootsSubscriber.php file core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php
PathRootsSubscriber::$pathRoots property core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php Stores the path roots available in the router.
PathRootsSubscriber::$state property core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php The state key value store.
PathRootsSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php
PathRootsSubscriber::onRouteAlter function core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php Collects all path roots.
PathRootsSubscriber::onRouteFinished function core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php
PathRootsSubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php Constructs a new PathRootsSubscriber instance.
PathRootsSubscriberTest class core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php @coversDefaultClass \Drupal\Core\EventSubscriber\PathRootsSubscriber
@group EventSubscriber
PathRootsSubscriberTest.php file core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php
PathRootsSubscriberTest::$pathRootsSubscriber property core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php The tested path root subscriber.
PathRootsSubscriberTest::$state property core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php The mocked state.
PathRootsSubscriberTest::setUp function core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php
PathRootsSubscriberTest::testSubscribing function core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php Tests altering and finished event.
PathSetTranslated class core/modules/path/src/Plugin/migrate/process/PathSetTranslated.php A process plugin to update the path of a translated node.
PathSetTranslated.php file core/modules/path/src/Plugin/migrate/process/PathSetTranslated.php
PathSetTranslated::transform function core/modules/path/src/Plugin/migrate/process/PathSetTranslated.php Performs the associated process.
PathSetTranslatedTest class core/modules/path/tests/src/Unit/migrate/process/PathSetTranslatedTest.php Tests the path_set_translated process plugin.
PathSetTranslatedTest.php file core/modules/path/tests/src/Unit/migrate/process/PathSetTranslatedTest.php
PathSetTranslatedTest::testTransform function core/modules/path/tests/src/Unit/migrate/process/PathSetTranslatedTest.php Tests the transform method.
PathSetTranslatedTest::transformDataProvider function core/modules/path/tests/src/Unit/migrate/process/PathSetTranslatedTest.php Provides data for the testTransform method.
PathTaxonomyTermTest class core/modules/path/tests/src/Functional/PathTaxonomyTermTest.php Tests URL aliases for taxonomy terms.
PathTaxonomyTermTest.php file core/modules/path/tests/src/Functional/PathTaxonomyTermTest.php
PathTaxonomyTermTest::$defaultTheme property core/modules/path/tests/src/Functional/PathTaxonomyTermTest.php The theme to install as the default for testing.
PathTaxonomyTermTest::$modules property core/modules/path/tests/src/Functional/PathTaxonomyTermTest.php Modules to enable.
PathTaxonomyTermTest::setUp function core/modules/path/tests/src/Functional/PathTaxonomyTermTest.php
PathTaxonomyTermTest::testTermAlias function core/modules/path/tests/src/Functional/PathTaxonomyTermTest.php Tests alias functionality through the admin interfaces.
PathTestBase class core/modules/path/tests/src/Functional/PathTestBase.php Provides a base class for testing the Path module.
PathTestBase.php file core/modules/path/tests/src/Functional/PathTestBase.php
PathTestBase::$modules property core/modules/path/tests/src/Functional/PathTestBase.php Modules to enable.
PathTestBase::setUp function core/modules/path/tests/src/Functional/PathTestBase.php
PathValidator class core/lib/Drupal/Core/Path/PathValidator.php Provides a default path validator and access checker.
PathValidator.php file core/lib/Drupal/Core/Path/PathValidator.php
PathValidator::$accessAwareRouter property core/lib/Drupal/Core/Path/PathValidator.php The access aware router.
PathValidator::$accessUnawareRouter property core/lib/Drupal/Core/Path/PathValidator.php A router implementation which does not check access.
PathValidator::$account property core/lib/Drupal/Core/Path/PathValidator.php The current user.
PathValidator::$pathProcessor property core/lib/Drupal/Core/Path/PathValidator.php The path processor.
PathValidator::getPathAttributes function core/lib/Drupal/Core/Path/PathValidator.php Gets the matched attributes for a given path.
PathValidator::getUrl function core/lib/Drupal/Core/Path/PathValidator.php Helper for getUrlIfValid() and getUrlIfValidWithoutAccessCheck().
PathValidator::getUrlIfValid function core/lib/Drupal/Core/Path/PathValidator.php Returns a URL object, if the path is valid and accessible.
PathValidator::getUrlIfValidWithoutAccessCheck function core/lib/Drupal/Core/Path/PathValidator.php Returns a URL object, if the path is valid.
PathValidator::isValid function core/lib/Drupal/Core/Path/PathValidator.php Checks if the URL path is valid and accessible by the current user.
PathValidator::__construct function core/lib/Drupal/Core/Path/PathValidator.php Creates a new PathValidator.
PathValidatorInterface interface core/lib/Drupal/Core/Path/PathValidatorInterface.php Provides an interface for URL path validators.
PathValidatorInterface.php file core/lib/Drupal/Core/Path/PathValidatorInterface.php
PathValidatorInterface::getUrlIfValid function core/lib/Drupal/Core/Path/PathValidatorInterface.php Returns a URL object, if the path is valid and accessible.
PathValidatorInterface::getUrlIfValidWithoutAccessCheck function core/lib/Drupal/Core/Path/PathValidatorInterface.php Returns a URL object, if the path is valid.
PathValidatorInterface::isValid function core/lib/Drupal/Core/Path/PathValidatorInterface.php Checks if the URL path is valid and accessible by the current user.
PathValidatorTest class core/tests/Drupal/KernelTests/Core/Path/PathValidatorTest.php Tests the path validator.
PathValidatorTest class core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php @coversDefaultClass \Drupal\Core\Path\PathValidator
@group Routing
PathValidatorTest.php file core/tests/Drupal/KernelTests/Core/Path/PathValidatorTest.php

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