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
EntityViewsDataInterface interface Drupal\views core/modules/views/src/EntityViewsDataInterface.php Provides an interface to integrate an entity type with views. 1
EntityWithPluginCollectionInterface interface Drupal\Core\Entity core/lib/Drupal/Core/Entity/EntityWithPluginCollectionInterface.php Provides an interface for an object using a plugin collection. 9 11
EntityWorkspaceConflictConstraint class Drupal\workspaces\Plugin\Validation\Constraint core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraint.php Validation constraint for an entity being edited in multiple workspaces. 1
EntityWorkspaceConflictConstraintValidator class Drupal\workspaces\Plugin\Validation\Constraint core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php Validates the EntityWorkspaceConflict constraint.
Entry final class OpenTelemetry\API\Baggage vendor/open-telemetry/api/Baggage/Entry.php 1
EntryPoint class Drupal\jsonapi\Controller core/modules/jsonapi/src/Controller/EntryPoint.php Controller for the API entry point. 1
Enum final class Doctrine\Common\Annotations\Annotation vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Enum.php Annotation that can be used to signal to the parser to check the available values during the parsing process. 2
Enum class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/Enum.php Enum type definition.
EnumBuilderContext class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/EnumBuilderContext.php 1
EnumCase class PhpParser\Builder vendor/nikic/php-parser/lib/PhpParser/Builder/EnumCase.php
EnumCase class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/EnumCase.php
EnumCasesFunction class Twig\Node\Expression\FunctionNode vendor/twig/twig/src/Node/Expression/FunctionNode/EnumCasesFunction.php 1
EnumCaseSpacingSniff class SlevomatCodingStandard\Sniffs\Classes vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Classes/EnumCaseSpacingSniff.php
EnumConstraint class JsonSchema\Constraints vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/EnumConstraint.php The EnumConstraint Constraints, validates an element against a given set of possibilities
EnumDescriptor class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptor.php 1
EnumDescriptor class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/EnumDescriptor.php
EnumDescriptorProto class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto.php Describes an enum type.
Enumerator final class SebastianBergmann\ObjectEnumerator vendor/sebastian/object-enumerator/src/Enumerator.php 2
EnumFunction class Twig\Node\Expression\FunctionNode vendor/twig/twig/src/Node/Expression/FunctionNode/EnumFunction.php 1
EnumInfo class VariableAnalysis\Lib vendor/sirbrillig/phpcs-variable-analysis/VariableAnalysis/Lib/EnumInfo.php Holds details of an enum. 1
EnumOptions class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php Generated from protobuf message <code>google.protobuf.EnumOptions</code>
EnumRequirement final class Symfony\Component\Routing\Requirement vendor/symfony/routing/Requirement/EnumRequirement.php
EnumReservedRange class Google\Protobuf\Internal\EnumDescriptorProto vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto/EnumReservedRange.php Range of reserved numeric values. Reserved values may not be used by entries in the same enum. Reserved ranges may not overlap. Note that this is distinct from DescriptorProto.ReservedRange in that it is inclusive such that it can appropriately…
EnumStub class Symfony\Component\VarDumper\Caster vendor/symfony/var-dumper/Caster/EnumStub.php Represents an enumeration of values. 2
EnumTokenEmulator final class PhpParser\Lexer\TokenEmulator vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/EnumTokenEmulator.php 1
EnumValue class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/EnumValue.php Enum value definition.
EnumValueDescriptor class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/EnumValueDescriptor.php 2
EnumValueDescriptorProto class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/EnumValueDescriptorProto.php Describes a value within an enum.
EnumValueOptions class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/EnumValueOptions.php Generated from protobuf message <code>google.protobuf.EnumValueOptions</code>
Enum_ class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Enum_.php 3
Enum_ class PhpParser\Builder vendor/nikic/php-parser/lib/PhpParser/Builder/Enum_.php
EnvConfigurator class Symfony\Component\DependencyInjection\Loader\Configurator vendor/symfony/dependency-injection/Loader/Configurator/EnvConfigurator.php
Envelope class Symfony\Component\Mailer vendor/symfony/mailer/Envelope.php @author Fabien Potencier <fabien@symfony.com> 1 9
EnvelopeListener class Symfony\Component\Mailer\EventListener vendor/symfony/mailer/EventListener/EnvelopeListener.php Manipulates the Envelope of a Message.
Environment final class OpenTelemetry\SDK\Resource\Detectors vendor/open-telemetry/sdk/Resource/Detectors/Environment.php
Environment final class PhpTuf\ComposerStager\Internal\Environment\Service vendor/php-tuf/composer-stager/src/Internal/Environment/Service/Environment.php @package Environment 2
Environment class Twig vendor/twig/twig/src/Environment.php Stores the Twig configuration and renders templates. 1 28
Environment class Drupal\Component\Utility core/lib/Drupal/Component/Utility/Environment.php Provides PHP environment helper methods. 12
EnvironmentCleaner class Drupal\Core\Test core/lib/Drupal/Core/Test/EnvironmentCleaner.php Helper class for cleaning test environments.
EnvironmentCleanerInterface interface Drupal\Core\Test core/lib/Drupal/Core/Test/EnvironmentCleanerInterface.php Defines an interface for cleaning up test results and fixtures. 1
EnvironmentInterface interface PhpTuf\ComposerStager\API\Environment\Service vendor/php-tuf/composer-stager/src/API/Environment/Service/EnvironmentInterface.php Provides features for interacting with the PHP environment. 1 24
EnvironmentResolver class OpenTelemetry\SDK\Common\Configuration\Resolver vendor/open-telemetry/sdk/Common/Configuration/Resolver/EnvironmentResolver.php @internal
EnvironmentSupportValidator final class Drupal\package_manager\Validator core/modules/package_manager/src/Validator/EnvironmentSupportValidator.php Checks that the environment has support for Package Manager.
EnvNotFoundException class Symfony\Component\DependencyInjection\Exception vendor/symfony/dependency-injection/Exception/EnvNotFoundException.php This exception is thrown when an environment variable is not found. 2
EnvParameterException class Symfony\Component\DependencyInjection\Exception vendor/symfony/dependency-injection/Exception/EnvParameterException.php This exception wraps exceptions whose messages contain a reference to an env parameter. 3
EnvPlaceholderParameterBag class Symfony\Component\DependencyInjection\ParameterBag vendor/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php @author Nicolas Grekas <p@tchwork.com> 1 6
EnvVarLoaderInterface interface Symfony\Component\DependencyInjection vendor/symfony/dependency-injection/EnvVarLoaderInterface.php EnvVarLoaderInterface objects return key/value pairs that are added to the list of available env vars. 1
EnvVarProcessor class Symfony\Component\DependencyInjection vendor/symfony/dependency-injection/EnvVarProcessor.php @author Nicolas Grekas <p@tchwork.com> 1
EnvVarProcessorInterface interface Symfony\Component\DependencyInjection vendor/symfony/dependency-injection/EnvVarProcessorInterface.php The EnvVarProcessorInterface is implemented by objects that manage environment-like variables. 1 1
Equal class PhpParser\Node\Expr\BinaryOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Equal.php

Pagination

  • First page
  • Previous page
  • …
  • Page 61
  • Page 62
  • Page 63
  • Page 64
  • Page 65
  • Page 66
  • Page 67
  • Page 68
  • Page 69
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal