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
DerivativeDiscoveryDecorator class Drupal\Component\Plugin\Discovery core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Base class providing the tools for a plugin discovery to be derivative aware. 1 1
DerivativeInspectionInterface interface Drupal\Component\Plugin core/lib/Drupal/Component/Plugin/DerivativeInspectionInterface.php Provides a plugin interface for providing derivative metadata inspection. 8 10
DeriverBase abstract class Drupal\Component\Plugin\Derivative core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php Provides a basic deriver. 42 42
DeriverInterface interface Drupal\Component\Plugin\Derivative core/lib/Drupal/Component/Plugin/Derivative/DeriverInterface.php Provides additional plugin definitions based on an existing definition. 2 1
Desaturate class Drupal\system\Plugin\ImageToolkit\Operation\gd core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Desaturate.php Defines GD2 Desaturate operation.
DesaturateImageEffect class Drupal\image\Plugin\ImageEffect core/modules/image/src/Plugin/ImageEffect/DesaturateImageEffect.php Desaturates (grayscale) an image resource.
Description class phpDocumentor\Reflection\DocBlock vendor/phpdocumentor/reflection-docblock/src/DocBlock/Description.php Object representing to description for a DocBlock. 25
DescriptionAwareFileFormatterBase abstract class Drupal\file\Plugin\Field\FieldFormatter core/modules/file/src/Plugin/Field/FieldFormatter/DescriptionAwareFileFormatterBase.php Base class for file formatters that have to deal with file descriptions. 2
DescriptionFactory class phpDocumentor\Reflection\DocBlock vendor/phpdocumentor/reflection-docblock/src/DocBlock/DescriptionFactory.php Creates a new Description object given a body of text. 32
DescriptionSniff class DrupalPractice\Sniffs\InfoFiles vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/InfoFiles/DescriptionSniff.php Checks if the *.info.yml file contains a description.
DescriptionTSniff class DrupalPractice\Sniffs\General vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/General/DescriptionTSniff.php Checks that string values for #description in render arrays are translated.
Descriptor abstract class Symfony\Component\Console\Descriptor vendor/symfony/console/Descriptor/Descriptor.php @author Jean-François Simon <jeanfrancois.simon@sensiolabs.com> 5
Descriptor class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php 2
Descriptor class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/Descriptor.php 1
Descriptor class GPBMetadata\Google\Protobuf\Internal vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php
DescriptorHelper class Symfony\Component\Console\Helper vendor/symfony/console/Helper/DescriptorHelper.php This class adds helper method to describe objects in various formats. 3
DescriptorInterface interface Symfony\Component\Console\Descriptor vendor/symfony/console/Descriptor/DescriptorInterface.php Descriptor interface. 1 1
DescriptorPool class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/DescriptorPool.php 1
DescriptorPool class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php 1
DescriptorProto class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto.php Describes a message type.
DestinationBase abstract class Drupal\migrate\Plugin\migrate\destination core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php Base class for migrate destination classes. 8 4
DestructableInterface interface Drupal\Core core/lib/Drupal/Core/DestructableInterface.php The interface for services that need explicit destruction. 7 5
DetachedShadowRoot final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/DetachedShadowRoot.php WebDriver\Exception\DetachedShadowRoot class
DetailedReason abstract class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/DetailedReason.php 2
Details class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/Details.php Provides a render element for a details element, similar to a fieldset.
DevelopmentSettingsForm class Drupal\system\Form core/modules/system/src/Form/DevelopmentSettingsForm.php Configure development settings for this site. 1
DevelopmentSettingsPass class Drupal\Core\DependencyInjection\Compiler core/lib/Drupal/Core/DependencyInjection/Compiler/DevelopmentSettingsPass.php Defines a compiler pass to register development settings. 1
DframeInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/DframeInstaller.php
DiagnoseCommand class Composer\Command vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php @author Jordi Boggiano <j.boggiano@seld.be>
DialogRenderer class Drupal\Core\Render\MainContent core/lib/Drupal/Core/Render/MainContent/DialogRenderer.php Default main content renderer for dialog requests. 2
Diff class PHP_CodeSniffer\Reports vendor/squizlabs/php_codesniffer/src/Reports/Diff.php
Diff final class SebastianBergmann\Diff vendor/sebastian/diff/src/Diff.php @template-implements IteratorAggregate<int, Chunk> 1
Diff class Drupal\Component\Diff core/lib/Drupal/Component/Diff/Diff.php Class representing a 'diff' between two sequences of strings. 1 1
DiffArray class Drupal\Component\Utility core/lib/Drupal/Component/Utility/DiffArray.php Provides helpers to perform diffs on multi dimensional arrays. 2
DiffElem class PHPStan\PhpDocParser\Printer vendor/phpstan/phpdoc-parser/src/Printer/DiffElem.php Inspired by https://github.com/nikic/PHP-Parser/tree/36a6dcd04e7b0285e8f0868f44bd4927802f7df1
DiffElem class PhpParser\Internal vendor/nikic/php-parser/lib/PhpParser/Internal/DiffElem.php @internal 1
Differ final class SebastianBergmann\Diff vendor/sebastian/diff/src/Differ.php 8
Differ class PHPStan\PhpDocParser\Printer vendor/phpstan/phpdoc-parser/src/Printer/Differ.php Inspired by https://github.com/nikic/PHP-Parser/tree/36a6dcd04e7b0285e8f0868f44bd4927802f7df1
Differ class PhpParser\Internal vendor/nikic/php-parser/lib/PhpParser/Internal/Differ.php Implements the Myers diff algorithm. 1
DiffFormatter class Drupal\Component\Diff core/lib/Drupal/Component/Diff/DiffFormatter.php A class to format Diffs 1 1
DiffFormatter class Drupal\Core\Diff core/lib/Drupal/Core/Diff/DiffFormatter.php Diff formatter which uses returns output that can be rendered to a table. 1
DiffOnlyOutputBuilder final class SebastianBergmann\Diff\Output vendor/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php Builds a diff string representation in a loose unified diff format listing only changes lines. Does not include line numbers.
DiffOp class Drupal\Component\Diff\Engine core/lib/Drupal/Component/Diff/Engine/DiffOp.php @todo document @private @subpackage DifferenceEngine 4 1
DiffOpAdd class Drupal\Component\Diff\Engine core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php @todo document @private @subpackage DifferenceEngine 1
DiffOpChange class Drupal\Component\Diff\Engine core/lib/Drupal/Component/Diff/Engine/DiffOpChange.php @todo document @private @subpackage DifferenceEngine 1
DiffOpCopy class Drupal\Component\Diff\Engine core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php @todo document @private @subpackage DifferenceEngine 2
DiffOpDelete class Drupal\Component\Diff\Engine core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php @todo document @private @subpackage DifferenceEngine 1
DiffOpOutputBuilder final class Drupal\Component\Diff core/lib/Drupal/Component/Diff/DiffOpOutputBuilder.php Returns a diff as an array of DiffOp operations.
DiffOutputBuilderInterface interface SebastianBergmann\Diff\Output vendor/sebastian/diff/src/Output/DiffOutputBuilderInterface.php Defines how an output builder should take a generated diff array and return a string representation of that diff. 4 2
DigestPart final class Symfony\Component\Mime\Part\Multipart vendor/symfony/mime/Part/Multipart/DigestPart.php @author Fabien Potencier <fabien@symfony.com>

Pagination

  • First page
  • Previous page
  • …
  • Page 47
  • Page 48
  • Page 49
  • Page 50
  • Page 51
  • Page 52
  • Page 53
  • Page 54
  • Page 55
  • …
  • 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