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
ContextBuilderInterface interface Symfony\Component\Serializer\Context vendor/symfony/serializer/Context/ContextBuilderInterface.php Common interface for context builders. 14 13
ContextBuilderTrait trait Symfony\Component\Serializer\Context vendor/symfony/serializer/Context/ContextBuilderTrait.php @author Mathias Arlaud <mathias.arlaud@gmail.com> 13
ContextCacheKeys class Drupal\Core\Cache\Context core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php A value object to store generated cache keys with its cacheability metadata.
ContextDefinition class Drupal\Core\Annotation core/lib/Drupal/Core/Annotation/ContextDefinition.php Defines a context definition annotation object.
ContextDefinition class Drupal\Core\Plugin\Context core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Defines a class for context definitions. 1 14
ContextDefinitionInterface interface Drupal\Component\Plugin\Context core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Interface used to define definition objects found in ContextInterface. 1 3
ContextDefinitionInterface interface Drupal\Core\Plugin\Context core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php Interface to define definition objects in ContextInterface via TypedData. 1
ContextException class Drupal\Component\Plugin\Exception core/lib/Drupal/Component/Plugin/Exception/ContextException.php An exception class to be thrown for context plugin exceptions. 1 8
ContextFactory final class phpDocumentor\Reflection\Types vendor/phpdocumentor/type-resolver/src/Types/ContextFactory.php Convenience class to create a Context for DocBlocks when not using the Reflection Component of phpDocumentor. 1
ContextHandler class Drupal\Core\Plugin\Context core/lib/Drupal/Core/Plugin/Context/ContextHandler.php Provides methods to handle sets of contexts.
ContextHandlerInterface interface Drupal\Core\Plugin\Context core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php Provides an interface for handling sets of contexts. 1 3
ContextInterface interface Drupal\Component\Plugin\Context core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Provides data and definitions for plugins during runtime and administration. 2 5
ContextInterface interface Drupal\Core\Plugin\Context core/lib/Drupal/Core/Plugin/Context/ContextInterface.php Context data and definitions for plugins supporting caching and return docs. 1 3
ContextInterface interface OpenTelemetry\Context vendor/open-telemetry/context/ContextInterface.php Immutable execution scoped propagation mechanism. 1 60
ContextKey final class OpenTelemetry\Context vendor/open-telemetry/context/ContextKey.php @internal @psalm-suppress MissingTemplateParam
ContextKeyInterface interface OpenTelemetry\Context vendor/open-telemetry/context/ContextKeyInterface.php @template-covariant T 1 3
ContextKeys final class OpenTelemetry\API\Instrumentation vendor/open-telemetry/api/Instrumentation/ContextKeys.php @internal 1
ContextKeys final class OpenTelemetry\Context vendor/open-telemetry/context/ContextKeys.php @psalm-internal OpenTelemetry 2
ContextProviderInterface interface Drupal\Core\Plugin\Context core/lib/Drupal/Core/Plugin/Context/ContextProviderInterface.php Defines an interface for providing plugin contexts. 4 4
ContextProviderInterface interface Symfony\Component\VarDumper\Dumper\ContextProvider vendor/symfony/var-dumper/Dumper/ContextProvider/ContextProviderInterface.php Interface to provide contextual data about dump data clones sent to a server. 3 3
ContextRepositoryInterface interface Drupal\Core\Plugin\Context core/lib/Drupal/Core/Plugin/Context/ContextRepositoryInterface.php Offers a global context repository. 1 5
ContextStorage final class OpenTelemetry\Context vendor/open-telemetry/context/ContextStorage.php @internal
ContextStorageHead final class OpenTelemetry\Context vendor/open-telemetry/context/ContextStorageHead.php @internal
ContextStorageHeadAware interface OpenTelemetry\Context vendor/open-telemetry/context/ContextStorageHeadAware.php @internal 2
ContextStorageInterface interface OpenTelemetry\Context vendor/open-telemetry/context/ContextStorageInterface.php 3 3
ContextStorageNode final class OpenTelemetry\Context vendor/open-telemetry/context/ContextStorageNode.php @internal
ContextStorageScopeInterface interface OpenTelemetry\Context vendor/open-telemetry/context/ContextStorageScopeInterface.php @psalm-suppress MissingTemplateParam 1
ContextualController class Drupal\contextual core/modules/contextual/src/ContextualController.php Returns responses for Contextual module routes.
ContextualHooks class Drupal\contextual\Hook core/modules/contextual/src/Hook/ContextualHooks.php Hook implementations for contextual.
ContextualizedDumper class Symfony\Component\VarDumper\Dumper vendor/symfony/var-dumper/Dumper/ContextualizedDumper.php @author Kévin Thérage <therage.kevin@gmail.com> 1
ContextualLinkDefault class Drupal\Core\Menu core/lib/Drupal/Core/Menu/ContextualLinkDefault.php Provides a common base implementation of a contextual link. 1 1
ContextualLinkInterface interface Drupal\Core\Menu core/lib/Drupal/Core/Menu/ContextualLinkInterface.php Defines a contextual link plugin. 1
ContextualLinkManager class Drupal\Core\Menu core/lib/Drupal/Core/Menu/ContextualLinkManager.php Defines a contextual link plugin manager to deal with contextual links.
ContextualLinkManagerInterface interface Drupal\Core\Menu core/lib/Drupal/Core/Menu/ContextualLinkManagerInterface.php Provides an object which returns the available contextual links. 1
ContextualLinks class Drupal\contextual\Plugin\views\field core/modules/contextual/src/Plugin/views/field/ContextualLinks.php Provides a handler that adds contextual links.
ContextualLinks class Drupal\contextual\Element core/modules/contextual/src/Element/ContextualLinks.php Provides a contextual_links element.
ContextualLinksPlaceholder class Drupal\contextual\Element core/modules/contextual/src/Element/ContextualLinksPlaceholder.php Provides a contextual_links_placeholder element.
ContextualValidatorInterface interface Drupal\Core\TypedData\Validation core/lib/Drupal/Core/TypedData/Validation/ContextualValidatorInterface.php Extends the contextual validator validate method by a new parameter. 1
ContextualValidatorInterface interface Symfony\Component\Validator\Validator vendor/symfony/validator/Validator/ContextualValidatorInterface.php A validator in a specific execution context. 3 3
ContextualViewsHooks class Drupal\contextual\Hook core/modules/contextual/src/Hook/ContextualViewsHooks.php Hook implementations for contextual.
ContextVariable final class Twig\Node\Expression\Variable vendor/twig/twig/src/Node/Expression/Variable/ContextVariable.php 3
ContinueStatement class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/ContinueStatement.php A node that represents the "continue" statement inside loops.
Continue_ class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Continue_.php
ControllerArgumentsEvent final class Symfony\Component\HttpKernel\Event vendor/symfony/http-kernel/Event/ControllerArgumentsEvent.php Allows filtering of controller arguments. 5
ControllerArgumentValueResolverPass class Symfony\Component\HttpKernel\DependencyInjection vendor/symfony/http-kernel/DependencyInjection/ControllerArgumentValueResolverPass.php Gathers and configures the argument value resolvers.
ControllerBase abstract class Drupal\Core\Controller core/lib/Drupal/Core/Controller/ControllerBase.php Utility base class for thin controllers. 49 49
ControllerDoesNotReturnResponseException class Symfony\Component\HttpKernel\Exception vendor/symfony/http-kernel/Exception/ControllerDoesNotReturnResponseException.php @author Grégoire Pineau <lyrixx@lyrixx.info> 1
ControllerEvent final class Symfony\Component\HttpKernel\Event vendor/symfony/http-kernel/Event/ControllerEvent.php Allows filtering of a controller callable. 6
ControllerReference class Symfony\Component\HttpKernel\Controller vendor/symfony/http-kernel/Controller/ControllerReference.php Acts as a marker and a data holder for a Controller. 9
ControllerResolver class Symfony\Component\HttpKernel\Controller vendor/symfony/http-kernel/Controller/ControllerResolver.php This implementation uses the '_controller' request attribute to determine the controller to execute. 1

Pagination

  • First page
  • Previous page
  • …
  • Page 36
  • Page 37
  • Page 38
  • Page 39
  • Page 40
  • Page 41
  • Page 42
  • Page 43
  • Page 44
  • …
  • Next page
  • Last page

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal