Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core

Primary tabs

  • Drupal 11.1.x

Introduction to classes

A lot of the PHP code in Drupal is object oriented (OO), making use of PHP classes, interfaces, and traits. See the Objected-oriented programming conventions for more information.

See also

Objected-oriented programming conventions

File

core/core.api.php, line 1518

Name Deprecated Object type Namespace File name Summary Direct uses Use statements Strings
PathAliasConstraint class Drupal\path\Plugin\Validation\Constraint core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraint.php Validation constraint for changing path aliases in pending revisions.
PathAliasConstraintValidator class Drupal\path\Plugin\Validation\Constraint core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php Constraint validator for changing path aliases in pending revisions.
PathAliasForm class Drupal\path core/modules/path/src/PathAliasForm.php Form handler for the path alias edit forms. 1
PathAliasInterface interface Drupal\path_alias core/modules/path_alias/src/PathAliasInterface.php Provides an interface defining a path_alias entity. 1 2
PathAliasListBuilder class Drupal\path core/modules/path/src/PathAliasListBuilder.php Defines a class to build a listing of path_alias entities. 1
PathAliasStorage class Drupal\path_alias core/modules/path_alias/src/PathAliasStorage.php Defines the storage handler class for path_alias entities. 1
PathAliasStorageSchema class Drupal\path_alias core/modules/path_alias/src/PathAliasStorageSchema.php Defines the path_alias schema handler. 1
PathAliasSubscriber class Drupal\path_alias\EventSubscriber core/modules/path_alias/src/EventSubscriber/PathAliasSubscriber.php Provides a path subscriber that converts path aliases. 2
PathBasedBreadcrumbBuilder class Drupal\system core/modules/system/src/PathBasedBreadcrumbBuilder.php Defines a class to build path-based breadcrumbs. 2
PathCacheContext class Drupal\Core\Cache\Context core/lib/Drupal/Core/Cache/Context/PathCacheContext.php Defines the PathCacheContext service, for "per URL path" caching.
PathChangedHelper class Drupal\Core\Routing core/lib/Drupal/Core/Routing/PathChangedHelper.php Provides helper functions for handling path changes.
PathDownloader class Composer\Downloader vendor/composer/composer/src/Composer/Downloader/PathDownloader.php Download a package from a local path.
PathElement class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/PathElement.php Provides a matched path render element. 1
PathExistsButIsNotDirectoryException final class SebastianBergmann\CodeCoverage\Driver vendor/phpunit/php-code-coverage/src/Exception/PathExistsButIsNotDirectoryException.php 1
PathExtractor class Drupal\Core\Theme\Plugin\IconExtractor core/lib/Drupal/Core/Theme/Plugin/IconExtractor/PathExtractor.php Plugin implementation of the icon_extractor.
PathFactory final class PhpTuf\ComposerStager\Internal\Path\Factory vendor/php-tuf/composer-stager/src/Internal/Path/Factory/PathFactory.php @package Path 2
PathFactoryInterface interface PhpTuf\ComposerStager\API\Path\Factory vendor/php-tuf/composer-stager/src/API/Path/Factory/PathFactoryInterface.php Creates path value objects. 1 13
PathFieldItemList class Drupal\path\Plugin\Field\FieldType core/modules/path/src/Plugin/Field/FieldType/PathFieldItemList.php Represents a configurable entity path field.
PathFilterForm class Drupal\path\Form core/modules/path/src/Form/PathFilterForm.php Provides the path admin overview filter form. 1
PathFilterIterator class Symfony\Component\Finder\Iterator vendor/symfony/finder/Iterator/PathFilterIterator.php PathFilterIterator filters files by path patterns (e.g. some/special/dir).
PathHeader final class Symfony\Component\Mime\Header vendor/symfony/mime/Header/PathHeader.php A Path Header, such a Return-Path (one address).
PathHelper final class PhpTuf\ComposerStager\Internal\Path\Service vendor/php-tuf/composer-stager/src/Internal/Path/Service/PathHelper.php @package Path 2
PathHelperInterface interface PhpTuf\ComposerStager\Internal\Path\Service vendor/php-tuf/composer-stager/src/Internal/Path/Service/PathHelperInterface.php @package Path 1 7
PathHooks class Drupal\path\Hook core/modules/path/src/Hook/PathHooks.php Hook implementations for path.
PathInterface interface PhpTuf\ComposerStager\API\Path\Value vendor/php-tuf/composer-stager/src/API/Path/Value/PathInterface.php Handles a filesystem path string. 1 47
PathItem class Drupal\path\Plugin\Field\FieldType core/modules/path/src/Plugin/Field/FieldType/PathItem.php Defines the 'path' entity field type.
PathList final class PhpTuf\ComposerStager\Internal\Path\Value vendor/php-tuf/composer-stager/src/Internal/Path/Value/PathList.php @package Path 1
PathListFactory final class PhpTuf\ComposerStager\Internal\Path\Factory vendor/php-tuf/composer-stager/src/Internal/Path/Factory/PathListFactory.php @package Path 2
PathListFactoryInterface interface PhpTuf\ComposerStager\API\Path\Factory vendor/php-tuf/composer-stager/src/API/Path/Factory/PathListFactoryInterface.php Creates path list value objects. 1 7
PathListInterface interface PhpTuf\ComposerStager\API\Path\Value vendor/php-tuf/composer-stager/src/API/Path/Value/PathListInterface.php Defines a list of path strings. 3 34
PathLocator class Drupal\package_manager core/modules/package_manager/src/PathLocator.php Computes file system paths that are needed to stage code changes. 23
PathMatcher class Drupal\Core\Path core/lib/Drupal/Core/Path/PathMatcher.php Provides a path matcher.
PathMatcherInterface interface Drupal\Core\Path core/lib/Drupal/Core/Path/PathMatcherInterface.php Provides an interface for URL path matchers. 1 5
PathParentCacheContext class Drupal\Core\Cache\Context core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php Defines a cache context service for path parents.
PathPluginBase abstract class Drupal\views\Plugin\views\display core/modules/views/src/Plugin/views/display/PathPluginBase.php The base display plugin for path/callbacks. This is used for pages and feeds. 3 2
PathProcessorDecode class Drupal\Core\PathProcessor core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php Processes the inbound path by decoding the URL.
PathProcessorFiles class Drupal\system\PathProcessor core/modules/system/src/PathProcessor/PathProcessorFiles.php Defines a path processor to rewrite file URLs. 2
PathProcessorFront class Drupal\Core\PathProcessor core/lib/Drupal/Core/PathProcessor/PathProcessorFront.php Processes the inbound path by resolving it to the front page if empty.
PathProcessorImageStyles class Drupal\image\PathProcessor core/modules/image/src/PathProcessor/PathProcessorImageStyles.php Defines a path processor to rewrite image styles URLs. 2
PathProcessorLanguage class Drupal\language\HttpKernel core/modules/language/src/HttpKernel/PathProcessorLanguage.php Processes the inbound path using path alias lookups. 1
PathProcessorManager class Drupal\Core\PathProcessor core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php Path processor manager. 1
PathRepository class Composer\Repository vendor/composer/composer/src/Composer/Repository/PathRepository.php This repository allows installing local packages that are not necessarily under their own VCS.
PathRequestMatcher class Symfony\Component\HttpFoundation\RequestMatcher vendor/symfony/http-foundation/RequestMatcher/PathRequestMatcher.php Checks the Request URL path info matches a regular expression.
PathRootsSubscriber class Drupal\Core\EventSubscriber core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php Provides all available first bits of all route paths.
PathSetTranslated class Drupal\path\Plugin\migrate\process core/modules/path/src/Plugin/migrate/process/PathSetTranslated.php A process plugin to update the path of a translated node.
PathValidator class Drupal\Core\Path core/lib/Drupal/Core/Path/PathValidator.php Provides a default path validator and access checker.
PathValidatorInterface interface Drupal\Core\Path core/lib/Drupal/Core/Path/PathValidatorInterface.php Provides an interface for URL path validators. 1 7
PathWidget class Drupal\path\Plugin\Field\FieldWidget core/modules/path/src/Plugin/Field/FieldWidget/PathWidget.php Plugin implementation of the 'path' widget.
Pattern class Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule/Pattern.php A light-weight pattern that can match 1 or more metrics, for which this schedule will apply. The string is used to match against metric names. It should not exceed 100k characters.
Pattern interface Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/Pattern.php Interface that every pattern node must implement. 6 1

Pagination

  • First page
  • Previous page
  • …
  • Page 137
  • Page 138
  • Page 139
  • Page 140
  • Page 141
  • Page 142
  • Page 143
  • Page 144
  • Page 145
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal