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
CheckPlatformReqsCommand class Composer\Command vendor/composer/composer/src/Composer/Command/CheckPlatformReqsCommand.php
Checkpoint final class Drupal\Core\Config\Checkpoint core/lib/Drupal/Core/Config/Checkpoint/Checkpoint.php A value object to store information about a checkpoint. 1
CheckpointExistsException final class Drupal\Core\Config\Checkpoint core/lib/Drupal/Core/Config/Checkpoint/CheckpointExistsException.php Thrown when trying to add a checkpoint with an ID that already exists.
CheckpointListInterface interface Drupal\Core\Config\Checkpoint core/lib/Drupal/Core/Config/Checkpoint/CheckpointListInterface.php Maintains a list of checkpoints. 1
CheckpointStorage final class Drupal\Core\Config\Checkpoint core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php Provides a config storage that can make checkpoints.
CheckpointStorageInterface interface Drupal\Core\Config\Checkpoint core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorageInterface.php Provides an interface for checkpoint storages. 1
CheckProvider class Drupal\Core\Access core/lib/Drupal/Core/Access/CheckProvider.php Loads access checkers from the container.
CheckProviderInterface interface Drupal\Core\Access core/lib/Drupal/Core/Access/CheckProviderInterface.php Provides the available access checkers by service IDs. 1 1
CheckReferenceValidityPass class Symfony\Component\DependencyInjection\Compiler vendor/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php Checks the validity of references.
CheckSecurityCallNode class Twig\Node vendor/twig/twig/src/Node/CheckSecurityCallNode.php @author Fabien Potencier <fabien@symfony.com> 1
CheckSecurityNode class Twig\Node vendor/twig/twig/src/Node/CheckSecurityNode.php @author Fabien Potencier <fabien@symfony.com> 1
Checkstyle class PHP_CodeSniffer\Reports vendor/squizlabs/php_codesniffer/src/Reports/Checkstyle.php
CheckToStringNode class Twig\Node vendor/twig/twig/src/Node/CheckToStringNode.php Checks if casting an expression to __toString() is allowed by the sandbox. 1 4
CheckTypeDeclarationsPass final class Symfony\Component\DependencyInjection\Compiler vendor/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php Checks whether injected parameters are compatible with type declarations.
ChefInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/ChefInstaller.php
ChildDefinition class Symfony\Component\DependencyInjection vendor/symfony/dependency-injection/ChildDefinition.php This definition extends another definition. 16
ChmodInterface interface Drupal\Core\FileTransfer core/lib/Drupal/Core/FileTransfer/ChmodInterface.php Defines an interface to chmod files. 3
Choice class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/Choice.php Validates that a value is one of a given set of valid choices. 1 7
ChoiceFormField class Symfony\Component\DomCrawler\Field vendor/symfony/dom-crawler/Field/ChoiceFormField.php ChoiceFormField represents a choice form field. 2
ChoiceQuestion class Symfony\Component\Console\Question vendor/symfony/console/Question/ChoiceQuestion.php Represents a choice question. 4
ChoiceValidator class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/ChoiceValidator.php ChoiceValidator validates that the value is one of the expected values. 1 1
ChooseBlockController class Drupal\layout_builder\Controller core/modules/layout_builder/src/Controller/ChooseBlockController.php Defines a controller to choose a new block.
ChooseSectionController class Drupal\layout_builder\Controller core/modules/layout_builder/src/Controller/ChooseSectionController.php Defines a controller to choose a new section.
Chunk final class SebastianBergmann\Diff vendor/sebastian/diff/src/Chunk.php @template-implements IteratorAggregate<int, Line>
Cidr class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/Cidr.php Validates that a value is a valid CIDR notation.
CidrValidator class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/CidrValidator.php Validates whether a value is a CIDR notation.
CircularReferenceException class Symfony\Component\Serializer\Exception vendor/symfony/serializer/Exception/CircularReferenceException.php CircularReferenceException. 2
CiviCrmInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php
CKEditor5 class Drupal\ckeditor5\Plugin\Editor core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php Defines a CKEditor 5-based text editor for Drupal. 1
CKEditor5AspectsOfCKEditor5Plugin class Drupal\ckeditor5\Attribute core/modules/ckeditor5/src/Attribute/CKEditor5AspectsOfCKEditor5Plugin.php
CKEditor5AspectsOfCKEditor5Plugin class Drupal\ckeditor5\Annotation core/modules/ckeditor5/src/Annotation/CKEditor5AspectsOfCKEditor5Plugin.php Defines the "CKEditor 5 aspects of a CKEditor5Plugin" annotation object.
CKEditor5CacheTag class Drupal\ckeditor5\EventSubscriber core/modules/ckeditor5/src/EventSubscriber/CKEditor5CacheTag.php A subscriber invalidating cache tags when the default theme changes. 2
CKEditor5ElementConstraint class Drupal\ckeditor5\Plugin\Validation\Constraint core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5ElementConstraint.php CKEditor 5 element.
CKEditor5ElementConstraintValidator class Drupal\ckeditor5\Plugin\Validation\Constraint core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5ElementConstraintValidator.php CKEditor 5 element validator.
Ckeditor5Hooks class Drupal\ckeditor5\Hook core/modules/ckeditor5/src/Hook/Ckeditor5Hooks.php Hook implementations for ckeditor5.
CKEditor5ImageController class Drupal\ckeditor5\Controller core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php Returns response for CKEditor 5 Simple image upload adapter.
CKEditor5MediaAndFilterSettingsInSyncConstraint class Drupal\ckeditor5\Plugin\Validation\Constraint core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraint.php Ensure CKEditor 5 media plugin's and media filter's settings are in sync.
CKEditor5MediaAndFilterSettingsInSyncConstraintValidator class Drupal\ckeditor5\Plugin\Validation\Constraint core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php CKEditor 5 Media plugin in sync with the filter settings validator.
CKEditor5MediaController class Drupal\ckeditor5\Controller core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php Provides an API for checking if a media entity has image field.
CKEditor5Plugin class Drupal\ckeditor5\Attribute core/modules/ckeditor5/src/Attribute/CKEditor5Plugin.php The CKEditor5Plugin attribute. 1
CKEditor5Plugin class Drupal\ckeditor5\Annotation core/modules/ckeditor5/src/Annotation/CKEditor5Plugin.php Defines a CKEditor5Plugin annotation object.
CKEditor5PluginConfigurableInterface interface Drupal\ckeditor5\Plugin core/modules/ckeditor5/src/Plugin/CKEditor5PluginConfigurableInterface.php Defines an interface for configurable CKEditor 5 plugins. 11 10
CKEditor5PluginConfigurableTrait trait Drupal\ckeditor5\Plugin core/modules/ckeditor5/src/Plugin/CKEditor5PluginConfigurableTrait.php Provides a trait for configurable CKEditor 5 plugins. 10
CKEditor5PluginDefault class Drupal\ckeditor5\Plugin core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefault.php Defines the default CKEditor 5 plugin implementation. 12 14
CKEditor5PluginDefinition final class Drupal\ckeditor5\Plugin core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Provides an implementation of a CKEditor 5 plugin definition. 13
CKEditor5PluginElementsSubsetInterface interface Drupal\ckeditor5\Plugin core/modules/ckeditor5/src/Plugin/CKEditor5PluginElementsSubsetInterface.php Defines an interface for plugins that can support an elements subset. 6 7
CKEditor5PluginInterface interface Drupal\ckeditor5\Plugin core/modules/ckeditor5/src/Plugin/CKEditor5PluginInterface.php Defines an interface for CKEditor 5 plugins. 2
CKEditor5PluginManager class Drupal\ckeditor5\Plugin core/modules/ckeditor5/src/Plugin/CKEditor5PluginManager.php Provides a CKEditor 5 plugin manager. 2
CKEditor5PluginManagerInterface interface Drupal\ckeditor5\Plugin core/modules/ckeditor5/src/Plugin/CKEditor5PluginManagerInterface.php Provides the interface for a plugin manager of CKEditor 5 plugins. 1 6
ClanCatsFrameworkInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php

Pagination

  • First page
  • Previous page
  • …
  • Page 19
  • Page 20
  • Page 21
  • Page 22
  • Page 23
  • Page 24
  • Page 25
  • Page 26
  • Page 27
  • …
  • 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