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
DuplicatePropertySniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\Classes vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Classes/DuplicatePropertySniff.php
DuplicateSpacesSniff class SlevomatCodingStandard\Sniffs\Whitespaces vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Whitespaces/DuplicateSpacesSniff.php
DuplicateStyleDefinitionSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/DuplicateStyleDefinitionSniff.php
Duration class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/Duration.php A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". It is related to… 1
Duration class GPBMetadata\Google\Protobuf vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Duration.php
Duration final class PHPUnit\Event\Telemetry vendor/phpunit/phpunit/src/Event/Value/Telemetry/Duration.php @psalm-immutable
Duration final class SebastianBergmann\Timer vendor/phpunit/php-timer/src/Duration.php @psalm-immutable 1
DurationInterface interface Drupal\Core\TypedData\Type core/lib/Drupal/Core/TypedData/Type/DurationInterface.php Interface for durations. 2 3
DurationIso8601 class Drupal\Core\TypedData\Plugin\DataType core/lib/Drupal/Core/TypedData/Plugin/DataType/DurationIso8601.php The duration ISO8601 data type.
DvcsDownloaderInterface interface Composer\Downloader vendor/composer/composer/src/Composer/Downloader/DvcsDownloaderInterface.php DVCS Downloader interface. 1 1
DynamicallyFieldableEntityStorageInterface interface Drupal\Core\Entity core/lib/Drupal/Core/Entity/DynamicallyFieldableEntityStorageInterface.php A storage that supports entity types with dynamic field definitions. 1 2
DynamicallyFieldableEntityStorageSchemaInterface interface Drupal\Core\Entity\Schema core/lib/Drupal/Core/Entity/Schema/DynamicallyFieldableEntityStorageSchemaInterface.php A storage schema that supports entity types with dynamic field definitions. 2 3
DynamicEntityTypeParamConverterTrait trait Drupal\Core\ParamConverter core/lib/Drupal/Core/ParamConverter/DynamicEntityTypeParamConverterTrait.php Provides a trait to replace dynamic entity types in routes.
DynamicLocalTasks class Drupal\media\Plugin\Derivative core/modules/media/src/Plugin/Derivative/DynamicLocalTasks.php Generates media-related local tasks. 1
DynamicLocalTasks class Drupal\content_moderation\Plugin\Derivative core/modules/content_moderation/src/Plugin/Derivative/DynamicLocalTasks.php Generates moderation-related local tasks. 1
DynamicPageCacheHooks class Drupal\dynamic_page_cache\Hook core/modules/dynamic_page_cache/src/Hook/DynamicPageCacheHooks.php Hook implementations for dynamic_page_cache.
DynamicPageCacheSubscriber class Drupal\dynamic_page_cache\EventSubscriber core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php Returns cached responses as early and avoiding as much work as possible. 2
DynamicPluginConfigWithCsrfTokenUrlTrait trait Drupal\ckeditor5\Plugin\CKEditor5Plugin core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/DynamicPluginConfigWithCsrfTokenUrlTrait.php Provides a trait for CKEditor 5 with dynamically generated CSRF token URLs.
Each final class GuzzleHttp\Promise vendor/guzzlehttp/promises/src/Each.php
EachPromise class GuzzleHttp\Promise vendor/guzzlehttp/promises/src/EachPromise.php Represents a promise that iterates over many promises and invokes side-effect functions in the process. 1
EarlyExitSniff class SlevomatCodingStandard\Sniffs\ControlStructures vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/ControlStructures/EarlyExitSniff.php
EarlyFormatSetter final class Drupal\jsonapi\Routing core/modules/jsonapi/src/Routing/EarlyFormatSetter.php Sets the 'api_json' format for requests to JSON:API resources. 2
EarlyRenderingControllerWrapperSubscriber class Drupal\Core\EventSubscriber core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php Subscriber that wraps controllers, to handle early rendering.
EasyHandle final class GuzzleHttp\Handler vendor/guzzlehttp/guzzle/src/Handler/EasyHandle.php Represents a cURL easy handle and the data it populates.
EchoedStringsSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\Strings vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Strings/EchoedStringsSniff.php
Echo_ class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Echo_.php
EditDetails class Drupal\views_ui\Form\Ajax core/modules/views_ui/src/Form/Ajax/EditDetails.php Provides a form for editing the details of a View.
Editor class Drupal\editor\Annotation core/modules/editor/src/Annotation/Editor.php Defines an Editor annotation object.
Editor class Drupal\editor\Attribute core/modules/editor/src/Attribute/Editor.php Defines an Editor attribute object. 2
Editor class Drupal\editor\Entity core/modules/editor/src/Entity/Editor.php Defines the configured text editor entity. 10
EditorAccessControlHandler class Drupal\editor core/modules/editor/src/EditorAccessControlHandler.php Defines the access control handler for the text editor entity type. 1
EditorBase abstract class Drupal\editor\Plugin core/modules/editor/src/Plugin/EditorBase.php Defines a base class from which other modules providing editors may extend. 1 1
EditorConfigTranslationSubscriber class Drupal\editor\EventSubscriber core/modules/editor/src/EventSubscriber/EditorConfigTranslationSubscriber.php Adds configuration names to configuration mapper on POPULATE_MAPPER event. 2
EditorController class Drupal\editor core/modules/editor/src/EditorController.php Returns responses for Editor module routes.
EditorDialogSave class Drupal\editor\Ajax core/modules/editor/src/Ajax/EditorDialogSave.php Provides an AJAX command for saving the contents of an editor dialog. 1
EditorFileReference class Drupal\editor\Plugin\Filter core/modules/editor/src/Plugin/Filter/EditorFileReference.php Provides a filter to track images uploaded via a Text Editor.
EditorHooks class Drupal\editor\Hook core/modules/editor/src/Hook/EditorHooks.php Hook implementations for editor.
EditorialContentEntityBase abstract class Drupal\Core\Entity core/lib/Drupal/Core/Entity/EditorialContentEntityBase.php Provides a base entity class with extended revision and publishing support. 5 5
EditorInterface interface Drupal\editor core/modules/editor/src/EditorInterface.php Provides an interface defining a text editor entity. 1 22
EditorManager class Drupal\editor\Plugin core/modules/editor/src/Plugin/EditorManager.php Configurable text editor manager. 2
EditorPluginInterface interface Drupal\editor\Plugin core/modules/editor/src/Plugin/EditorPluginInterface.php Defines an interface for configurable text editors. 1 1
EditorXssFilterInterface interface Drupal\editor core/modules/editor/src/EditorXssFilterInterface.php Defines an interface for text editor XSS (Cross-site scripting) filters. 1 1
EightBitContentEncoder final class Symfony\Component\Mime\Encoder vendor/symfony/mime/Encoder/EightBitContentEncoder.php @author Fabien Potencier <fabien@symfony.com> 1
Element interface phpDocumentor\Reflection vendor/phpdocumentor/reflection-common/src/Element.php Interface for Api Elements
Element class WebDriver vendor/lullabot/php-webdriver/lib/WebDriver/Element.php WebDriver\Element class 1 1
Element abstract class Drupal\Core\Config\Schema core/lib/Drupal/Core/Config/Schema/Element.php Defines a generic configuration element. 3
Element class Drupal\Core\Render core/lib/Drupal/Core/Render/Element.php Provides helper methods for Drupal render elements. 105
Element class Drupal\editor core/modules/editor/src/Element.php Defines a service for Text Editor's render elements. 2
Element abstract class Behat\Mink\Element vendor/behat/mink/src/Element/Element.php Base element. 1 3
ElementClickIntercepted final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/ElementClickIntercepted.php WebDriver\Exception\ElementClickIntercepted class

Pagination

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