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
PropagatorFactory class OpenTelemetry\SDK\Propagation vendor/open-telemetry/sdk/Propagation/PropagatorFactory.php 1
Property final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Property.php Reflection class for a {property tag in a Docblock. 2
Property class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/Property.php A node that represents a property in an object literal. For example "b" in: a = {b: 1} 1
Property class PhpParser\Builder vendor/nikic/php-parser/lib/PhpParser/Builder/Property.php
Property class PhpParser\Node\Scalar\MagicConst vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Property.php
Property class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Property.php 1
PropertyDeclarationSniff class PHP_CodeSniffer\Standards\PSR2\Sniffs\Classes vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php
PropertyDeclarationSniff class SlevomatCodingStandard\Sniffs\Classes vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Classes/PropertyDeclarationSniff.php
PropertyDeclarationSniff class Drupal\Sniffs\Classes vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Classes/PropertyDeclarationSniff.php Largely copied from \PHP_CodeSniffer\Standards\PSR2\Sniffs\Classes\PropertyDeclarationSniff to have a fixer for the var keyword.
PropertyDefinition class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/PropertyDefinition.php A node that represents a property definition in class body.
PropertyException class DeepCopy\Exception vendor/myclabs/deep-copy/src/DeepCopy/Exception/PropertyException.php 1
PropertyFactory final class phpDocumentor\Reflection\DocBlock\Tags\Factory vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/PropertyFactory.php @internal This class is not part of the BC promise of this library. 1
PropertyFetch class PhpParser\Node\Expr vendor/nikic/php-parser/lib/PhpParser/Node/Expr/PropertyFetch.php 1
PropertyHelper class SlevomatCodingStandard\Helpers vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/PropertyHelper.php @internal 13
PropertyHook class PhpParser\Node vendor/nikic/php-parser/lib/PhpParser/Node/PropertyHook.php 2
PropertyInfoLoader final class Symfony\Component\Validator\Mapping\Loader vendor/symfony/validator/Mapping/Loader/PropertyInfoLoader.php Guesses and loads the appropriate constraints using PropertyInfo.
PropertyItem class PhpParser\Node vendor/nikic/php-parser/lib/PhpParser/Node/PropertyItem.php 2
PropertyLabelSpacingSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\WhiteSpace vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/PropertyLabelSpacingSniff.php
PropertyMatcher class DeepCopy\Matcher vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyMatcher.php @final
PropertyMetadata class Symfony\Component\Validator\Mapping vendor/symfony/validator/Mapping/PropertyMetadata.php Stores all metadata needed for validating a class property. 1
PropertyMetadataInterface interface Symfony\Component\Validator\Mapping vendor/symfony/validator/Mapping/PropertyMetadataInterface.php Stores all metadata needed for validating the value of a class property. 1 3
PropertyNameMatcher class DeepCopy\Matcher vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyNameMatcher.php @final
PropertyNormalizer final class Symfony\Component\Serializer\Normalizer vendor/symfony/serializer/Normalizer/PropertyNormalizer.php Converts between objects and arrays by mapping properties. 1
PropertyNormalizerContextBuilder final class Symfony\Component\Serializer\Context\Normalizer vendor/symfony/serializer/Context/Normalizer/PropertyNormalizerContextBuilder.php A helper providing autocompletion for available PropertyNormalizer options.
PropertyPath class Symfony\Component\Validator\Util vendor/symfony/validator/Util/PropertyPath.php Contains utility methods for dealing with property paths. 6
PropertyRead final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyRead.php Reflection class for a {property-read tag in a Docblock. 2
PropertyReadFactory final class phpDocumentor\Reflection\DocBlock\Tags\Factory vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/PropertyReadFactory.php @internal This class is not part of the BC promise of this library. 1
PropertySpacingSniff class SlevomatCodingStandard\Sniffs\Classes vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Classes/PropertySpacingSniff.php
PropertyTagValueNode class PHPStan\PhpDocParser\Ast\PhpDoc vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/PropertyTagValueNode.php 4
PropertyTokenEmulator final class PhpParser\Lexer\TokenEmulator vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/PropertyTokenEmulator.php 1
PropertyTrait trait Symfony\Component\DependencyInjection\Loader\Configurator\Traits vendor/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php
PropertyTypeHintSniff class SlevomatCodingStandard\Sniffs\TypeHints vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/TypeHints/PropertyTypeHintSniff.php
PropertyTypeMatcher class DeepCopy\Matcher vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyTypeMatcher.php Matches a property by its type.
PropertyWrite final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyWrite.php Reflection class for a {property-write tag in a Docblock. 2
PropertyWriteFactory final class phpDocumentor\Reflection\DocBlock\Tags\Factory vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/PropertyWriteFactory.php @internal This class is not part of the BC promise of this library. 1
ProphecyComparator class Prophecy\Comparator vendor/phpspec/prophecy/src/Prophecy/Comparator/ProphecyComparator.php @final
ProphecyException interface Prophecy\Exception\Prophecy vendor/phpspec/prophecy/src/Prophecy/Exception/Prophecy/ProphecyException.php 1
ProphecyInterface interface Prophecy\Prophecy vendor/phpspec/prophecy/src/Prophecy/Prophecy/ProphecyInterface.php Core Prophecy interface. 1 2
ProphecySubjectInterface interface Prophecy\Prophecy vendor/phpspec/prophecy/src/Prophecy/Prophecy/ProphecySubjectInterface.php Controllable doubles interface. 1
ProphecySubjectPatch class Prophecy\Doubler\ClassPatch vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php Add Prophecy functionality to the double. This is a core class patch for Prophecy.
ProphecyTrait trait Prophecy\PhpUnit vendor/phpspec/prophecy-phpunit/src/ProphecyTrait.php @mixin TestCase
Prophet class Prophecy vendor/phpspec/prophecy/src/Prophecy/Prophet.php Prophet creates prophecies. 2
ProtectedDirectory class Drupal\Core\File core/lib/Drupal/Core/File/ProtectedDirectory.php A value object representing a protected directory.
ProtectedPhpFileLoader final class Symfony\Component\Routing\Loader vendor/symfony/routing/Loader/PhpFileLoader.php @internal
ProtectedPhpFileLoader final class Symfony\Component\DependencyInjection\Loader vendor/symfony/dependency-injection/Loader/PhpFileLoader.php @internal
ProtectedUserFieldConstraint class Drupal\user\Plugin\Validation\Constraint core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraint.php Checks if the plain text password is provided for editing a protected field.
ProtectedUserFieldConstraintValidator class Drupal\user\Plugin\Validation\Constraint core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php Validates the ProtectedUserFieldConstraint constraint.
ProtobufSerializer final class OpenTelemetry\Contrib\Otlp vendor/open-telemetry/exporter-otlp/ProtobufSerializer.php @internal @psalm-type SUPPORTED_CONTENT_TYPES = ContentTypes::PROTOBUF|ContentTypes::JSON|ContentTypes::NDJSON
Protocols class OpenTelemetry\Contrib\Otlp vendor/open-telemetry/exporter-otlp/Protocols.php
ProtocolVersionCacheContext class Drupal\Core\Cache\Context core/lib/Drupal/Core/Cache/Context/ProtocolVersionCacheContext.php Defines the ProtocolVersionCacheContext service, for "per protocol" caching.

Pagination

  • First page
  • Previous page
  • …
  • Page 146
  • Page 147
  • Page 148
  • Page 149
  • Page 150
  • Page 151
  • Page 152
  • Page 153
  • Page 154
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal