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
DolibarrInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php Class DolibarrInstaller
DomainAcceptsNoMail class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/DomainAcceptsNoMail.php 1
DomainComment class Egulias\EmailValidator\Parser\CommentStrategy vendor/egulias/email-validator/src/Parser/CommentStrategy/DomainComment.php 1
DomainHyphened class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/DomainHyphened.php 1
DomainLiteral class Egulias\EmailValidator\Warning vendor/egulias/email-validator/src/Warning/DomainLiteral.php 1
DomainLiteral class Egulias\EmailValidator\Parser vendor/egulias/email-validator/src/Parser/DomainLiteral.php 1
DomainOptions final class PhpTuf\ComposerStager\Internal\Translation\Service vendor/php-tuf/composer-stager/src/Internal/Translation/Service/DomainOptions.php @package Translation 2
DomainOptionsInterface interface PhpTuf\ComposerStager\API\Translation\Service vendor/php-tuf/composer-stager/src/API/Translation/Service/DomainOptionsInterface.php Provides domain values for the translation system. 1 6
DomainPart class Egulias\EmailValidator\Parser vendor/egulias/email-validator/src/Parser/DomainPart.php 1 1
DomainTooLong class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/DomainTooLong.php 1
DOMCaster class Symfony\Component\VarDumper\Caster vendor/symfony/var-dumper/Caster/DOMCaster.php Casts DOM related classes to array representation.
DOMNodeComparator final class SebastianBergmann\Comparator vendor/sebastian/comparator/src/DOMNodeComparator.php
DOMTreeBuilder class Masterminds\HTML5\Parser vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php Create an HTML5 DOM tree from events. 2
DoNode class Twig\Node vendor/twig/twig/src/Node/DoNode.php Represents a do node. 1
DotAtEnd class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/DotAtEnd.php 2
DotAtStart class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/DotAtStart.php 2
DotDirectory class org\bovigo\vfs vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/DotDirectory.php Directory container.
DoTokenParser final class Twig\TokenParser vendor/twig/twig/src/TokenParser/DoTokenParser.php Evaluates an expression, discarding the returned value. 1
DoTrustedCallbackTrait trait Drupal\Core\Security core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php Ensures that only predefined methods can be used as callback methods. 4
Double class PhpParser\Node\Expr\Cast vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Double.php 1
DoubledCloneMethod trait PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Api/DoubledCloneMethod.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
DoubleEndedQueue class Ramsey\Collection vendor/ramsey/collection/src/DoubleEndedQueue.php This class provides a basic implementation of `DoubleEndedQueueInterface`, to minimize the effort required to implement this interface.
DoubleEndedQueueInterface interface Ramsey\Collection vendor/ramsey/collection/src/DoubleEndedQueueInterface.php A linear collection that supports element insertion and removal at both ends. 1
DoubleException class Prophecy\Exception\Doubler vendor/phpspec/prophecy/src/Prophecy/Exception/Doubler/DoubleException.php 4 5
DoubleInterface interface Prophecy\Doubler vendor/phpspec/prophecy/src/Prophecy/Doubler/DoubleInterface.php Core double interface. All doubled classes will implement this one.
DoubleQuote class Egulias\EmailValidator\Parser vendor/egulias/email-validator/src/Parser/DoubleQuote.php
DoubleQuoteUsageSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\Strings vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Strings/DoubleQuoteUsageSniff.php
Doubler class Prophecy\Doubler vendor/phpspec/prophecy/src/Prophecy/Doubler/Doubler.php Cached class doubler. Prevents mirroring/creation of the same structure twice. 1 1
DoublerException interface Prophecy\Exception\Doubler vendor/phpspec/prophecy/src/Prophecy/Exception/Doubler/DoublerException.php 3
DoubleValue class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/DoubleValue.php Wrapper message for `double`. The JSON representation for `DoubleValue` is JSON number.
DoWhileStatement class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/DoWhileStatement.php A node that represents a do-while loop. For example: do {} while (test)
Download class Drupal\migrate\Plugin\migrate\process core/modules/migrate/src/Plugin/migrate/process/Download.php Downloads a file from a HTTP(S) remote location into the local file system.
Downloader interface PHPUnit\Util\Http vendor/phpunit/phpunit/src/Util/Http/Downloader.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1 1
DownloaderInterface interface Composer\Downloader vendor/composer/composer/src/Composer/Downloader/DownloaderInterface.php Downloader interface. 2 1
DownloadManager class Composer\Downloader vendor/composer/composer/src/Composer/Downloader/DownloadManager.php Downloaders manager. 6
Do_ class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Do_.php
DraftEmail class Symfony\Component\Mime vendor/symfony/mime/DraftEmail.php @author Kevin Bond <kevinbond@gmail.com>
DraggableListBuilder abstract class Drupal\Core\Config\Entity core/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php Defines a class to build a draggable listing of configuration entities. 5 5
DraggableListBuilderTrait trait Drupal\Core\Entity core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php Provides a trait for draggable listings of entities. 1
Driver interface Revolt\EventLoop vendor/revolt/event-loop/src/EventLoop/Driver.php The driver MUST run in its own fiber and execute callbacks in a separate fiber. If fibers are reused, the driver needs to call { 2 3
Driver abstract class SebastianBergmann\CodeCoverage\Driver vendor/phpunit/php-code-coverage/src/Driver/Driver.php @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage 2 4
DriverCallback abstract class Revolt\EventLoop\Internal vendor/revolt/event-loop/src/EventLoop/Internal/DriverCallback.php @internal 4 5
DriverException class Behat\Mink\Exception vendor/behat/mink/src/Exception/DriverException.php Exception thrown by drivers when they fail to perform an action. 1 5
DriverFactory final class Revolt\EventLoop vendor/revolt/event-loop/src/EventLoop/DriverFactory.php 1
DriverInterface interface Behat\Mink\Driver vendor/behat/mink/src/Driver/DriverInterface.php Driver interface. 1 7
DriverNotSpecifiedException class Drupal\Core\Database core/lib/Drupal/Core/Database/DriverNotSpecifiedException.php Exception thrown if no driver is specified for a database connection.
DriverSuspension final class Revolt\EventLoop\Internal vendor/revolt/event-loop/src/EventLoop/Internal/DriverSuspension.php @internal
Dropbutton class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/Dropbutton.php Provides a render element for a set of links rendered as a drop-down button. 1
Dropbutton class Drupal\views\Plugin\views\field core/modules/views/src/Plugin/views/field/Dropbutton.php Provides a handler that renders links as dropbutton.
DroppingStream final class GuzzleHttp\Psr7 vendor/guzzlehttp/psr7/src/DroppingStream.php Stream decorator that begins dropping data once the size of the underlying stream becomes too full.

Pagination

  • First page
  • Previous page
  • …
  • Page 51
  • Page 52
  • Page 53
  • Page 54
  • Page 55
  • Page 56
  • Page 57
  • Page 58
  • Page 59
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal