Search for path

  1. Search 7.x for path
  2. Search 9.5.x for path
  3. Search 8.9.x for path
  4. Search 10.3.x for path
  5. Other projects
Title Object type File name Summary
PathMatcher::$frontPage property core/lib/Drupal/Core/Path/PathMatcher.php The default front page.
PathMatcher::$isCurrentFrontPage property core/lib/Drupal/Core/Path/PathMatcher.php Whether the current page is the front page.
PathMatcher::$regexes property core/lib/Drupal/Core/Path/PathMatcher.php The cache of regular expressions.
PathMatcher::$routeMatch property core/lib/Drupal/Core/Path/PathMatcher.php The current route match.
PathMatcher::getFrontPagePath function core/lib/Drupal/Core/Path/PathMatcher.php Gets the current front page path.
PathMatcher::isFrontPage function core/lib/Drupal/Core/Path/PathMatcher.php Checks if the current page is the front page.
PathMatcher::matchPath function core/lib/Drupal/Core/Path/PathMatcher.php Checks if a path matches any pattern in a set of patterns.
PathMatcher::__construct function core/lib/Drupal/Core/Path/PathMatcher.php Creates a new PathMatcher.
PathMatcherInterface interface core/lib/Drupal/Core/Path/PathMatcherInterface.php Provides an interface for URL path matchers.
PathMatcherInterface.php file core/lib/Drupal/Core/Path/PathMatcherInterface.php
PathMatcherInterface::isFrontPage function core/lib/Drupal/Core/Path/PathMatcherInterface.php Checks if the current page is the front page.
PathMatcherInterface::matchPath function core/lib/Drupal/Core/Path/PathMatcherInterface.php Checks if a path matches any pattern in a set of patterns.
PathMatcherTest class core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php @coversDefaultClass \Drupal\Core\Path\PathMatcher
@group Path
PathMatcherTest.php file core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php
PathMatcherTest::$pathMatcher property core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php The path matcher under test.
PathMatcherTest::getMatchPathData function core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php Provides test path data.
PathMatcherTest::setUp function core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php
PathMatcherTest::testMatchPath function core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php Tests that standard paths works with multiple patterns.
PathMediaFormTest class core/modules/path/tests/src/Functional/PathMediaFormTest.php Tests the path media form UI.
PathMediaFormTest.php file core/modules/path/tests/src/Functional/PathMediaFormTest.php
PathMediaFormTest::$defaultTheme property core/modules/path/tests/src/Functional/PathMediaFormTest.php The theme to install as the default for testing.
PathMediaFormTest::$modules property core/modules/path/tests/src/Functional/PathMediaFormTest.php Modules to install.
PathMediaFormTest::setUp function core/modules/path/tests/src/Functional/PathMediaFormTest.php
PathMediaFormTest::testMediaForm function core/modules/path/tests/src/Functional/PathMediaFormTest.php Tests the media form UI.
PathNoCanonicalLinkTest class core/modules/path/tests/src/Kernel/PathNoCanonicalLinkTest.php Tests path alias deletion when there is no canonical link template.
PathNoCanonicalLinkTest.php file core/modules/path/tests/src/Kernel/PathNoCanonicalLinkTest.php
PathNoCanonicalLinkTest::$modules property core/modules/path/tests/src/Kernel/PathNoCanonicalLinkTest.php Modules to install.
PathNoCanonicalLinkTest::setUp function core/modules/path/tests/src/Kernel/PathNoCanonicalLinkTest.php
PathNoCanonicalLinkTest::testNoCanonicalLinkTemplate function core/modules/path/tests/src/Kernel/PathNoCanonicalLinkTest.php Tests for no canonical link templates.
PathNodeFormTest class core/modules/path/tests/src/Functional/PathNodeFormTest.php Tests the Path Node form UI.
PathNodeFormTest.php file core/modules/path/tests/src/Functional/PathNodeFormTest.php
PathNodeFormTest::$defaultTheme property core/modules/path/tests/src/Functional/PathNodeFormTest.php The theme to install as the default for testing.
PathNodeFormTest::$modules property core/modules/path/tests/src/Functional/PathNodeFormTest.php Modules to install.
PathNodeFormTest::setUp function core/modules/path/tests/src/Functional/PathNodeFormTest.php
PathNodeFormTest::testNodeForm function core/modules/path/tests/src/Functional/PathNodeFormTest.php Tests the node form ui.
PathParentCacheContext class core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php Defines a cache context service for path parents.
PathParentCacheContext.php file core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php
PathParentCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php Gets the cacheability metadata for the context.
PathParentCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php Returns the string representation of the cache context.
PathParentCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php Returns the label of the cache context.
PathParentCacheContextTest class core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php @coversDefaultClass \Drupal\Core\Cache\Context\PathParentCacheContext
@group Cache
PathParentCacheContextTest.php file core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php
PathParentCacheContextTest::providerTestGetContext function core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php Provides a list of paths and expected cache contexts.
PathParentCacheContextTest::testGetContext function core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php @covers ::getContext
PathPluginBase class core/modules/views/src/Plugin/views/display/PathPluginBase.php The base display plugin for path/callbacks. This is used for pages and feeds.
PathPluginBase.php file core/modules/views/src/Plugin/views/display/PathPluginBase.php
PathPluginBase::$routeProvider property core/modules/views/src/Plugin/views/display/PathPluginBase.php The route provider.
PathPluginBase::$state property core/modules/views/src/Plugin/views/display/PathPluginBase.php The state key value store.
PathPluginBase::alterRoutes function core/modules/views/src/Plugin/views/display/PathPluginBase.php Alters a collection of routes and replaces definitions to the view.
PathPluginBase::buildOptionsForm function core/modules/views/src/Plugin/views/display/PathPluginBase.php Provide a form to edit options for this plugin.

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