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
TextareaWidget class Drupal\text\Plugin\Field\FieldWidget core/modules/text/src/Plugin/Field/FieldWidget/TextareaWidget.php Plugin implementation of the 'text_textarea' widget. 1
TextareaWithSummaryWidget class Drupal\text\Plugin\Field\FieldWidget core/modules/text/src/Plugin/Field/FieldWidget/TextareaWithSummaryWidget.php Plugin implementation of the 'text_textarea_with_summary' widget.
TextCustom class Drupal\views\Plugin\views\area core/modules/views/src/Plugin/views/area/TextCustom.php Views area text handler.
TextDefaultFormatter class Drupal\text\Plugin\Field\FieldFormatter core/modules/text/src/Plugin/Field/FieldFormatter/TextDefaultFormatter.php Plugin implementation of the 'text_default' formatter.
TextDescriptor class Symfony\Component\Console\Descriptor vendor/symfony/console/Descriptor/TextDescriptor.php Text descriptor. 1
TextDumper final class Twig\Profiler\Dumper vendor/twig/twig/src/Profiler/Dumper/TextDumper.php @author Fabien Potencier <fabien@symfony.com>
TextEditorObjectDependentValidatorTrait trait Drupal\ckeditor5\Plugin\Validation\Constraint core/modules/ckeditor5/src/Plugin/Validation/Constraint/TextEditorObjectDependentValidatorTrait.php Some CKEditor 5 constraint validators need a Text Editor object.
TextField class Drupal\text\Plugin\migrate\field\d6 core/modules/text/src/Plugin/migrate/field/d6/TextField.php MigrateField Plugin for Drupal 6 text fields.
TextField class Drupal\text\Plugin\migrate\field\d7 core/modules/text/src/Plugin/migrate/field/d7/TextField.php
Textfield class Drupal\config_translation\FormElement core/modules/config_translation/src/FormElement/Textfield.php Defines the textfield element for the configuration translation interface.
Textfield class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/Textfield.php Provides a one-line text field form element. 3 1
TextFieldItemList class Drupal\text\Plugin\Field\FieldType core/modules/text/src/Plugin/Field/FieldType/TextFieldItemList.php Defines an item list class for text fields.
TextfieldWidget class Drupal\text\Plugin\Field\FieldWidget core/modules/text/src/Plugin/Field/FieldWidget/TextfieldWidget.php Plugin implementation of the 'text_textfield' widget.
TextFormat class Drupal\filter\Element core/modules/filter/src/Element/TextFormat.php Provides a text format render element.
TextFormat class Drupal\config_translation\FormElement core/modules/config_translation/src/FormElement/TextFormat.php Defines the text_format element for the configuration translation interface.
TextHooks class Drupal\text\Hook core/modules/text/src/Hook/TextHooks.php Hook implementations for text.
TextItem class Drupal\text\Plugin\Field\FieldType core/modules/text/src/Plugin/Field/FieldType/TextItem.php Plugin implementation of the 'text' field type.
TextItemBase abstract class Drupal\text\Plugin\Field\FieldType core/modules/text/src/Plugin/Field/FieldType/TextItemBase.php Base class for 'text' configurable field types. 3 1
TextLongItem class Drupal\text\Plugin\Field\FieldType core/modules/text/src/Plugin/Field/FieldType/TextLongItem.php Plugin implementation of the 'text_long' field type.
TextMapPropagatorInterface interface OpenTelemetry\Context\Propagation vendor/open-telemetry/context/Propagation/TextMapPropagatorInterface.php 5 14
TextNode class Twig\Node vendor/twig/twig/src/Node/TextNode.php Represents a text node. 4
TextPart class Symfony\Component\Mime\Part vendor/symfony/mime/Part/TextPart.php @author Fabien Potencier <fabien@symfony.com> 1 6
TextProcessed class Drupal\text core/modules/text/src/TextProcessed.php A computed property for processing text with a format.
TextSummaryOrTrimmedFormatter class Drupal\text\Plugin\Field\FieldFormatter core/modules/text/src/Plugin/Field/FieldFormatter/TextSummaryOrTrimmedFormatter.php Plugin implementation of the 'text_summary_or_trimmed' formatter.
TextTrimmedFormatter class Drupal\text\Plugin\Field\FieldFormatter core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Plugin implementation of the 'text_trimmed' formatter. 1
TextWithSummaryItem class Drupal\text\Plugin\Field\FieldType core/modules/text/src/Plugin/Field/FieldType/TextWithSummaryItem.php Plugin implementation of the 'text_with_summary' field type.
TheliaInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php
Theme class Drupal\Core\Updater core/lib/Drupal/Core/Updater/Theme.php Defines a class for updating themes.
ThemeAccessCheck class Drupal\Core\Theme core/lib/Drupal/Core/Theme/ThemeAccessCheck.php Provides access checking for themes for routing and theme negotiation. 1
ThemeAdminForm class Drupal\system\Form core/modules/system/src/Form/ThemeAdminForm.php Form to select the administration theme.
ThemeCacheContext class Drupal\Core\Cache\Context core/lib/Drupal/Core/Cache/Context/ThemeCacheContext.php Defines the ThemeCacheContext service, for "per theme" caching.
ThemeCommonElements class Drupal\Core\Theme core/lib/Drupal/Core/Theme/ThemeCommonElements.php Provide common theme render elements. 2
ThemeController class Drupal\system\Controller core/modules/system/src/Controller/ThemeController.php Controller for theme handling.
ThemeEngineExtensionList class Drupal\Core\Extension core/lib/Drupal/Core/Extension/ThemeEngineExtensionList.php Provides a list of available theme engines. 1 1
ThemeExperimentalConfirmForm class Drupal\system\Form core/modules/system/src/Form/ThemeExperimentalConfirmForm.php Builds a confirmation form for enabling experimental themes. 1
ThemeExtensionList class Drupal\Core\Extension core/lib/Drupal/Core/Extension/ThemeExtensionList.php Provides a list of available themes. 1 13
ThemeHandler class Drupal\Core\Extension core/lib/Drupal/Core/Extension/ThemeHandler.php Default theme handler using the config system to store installation statuses.
ThemeHandlerInterface interface Drupal\Core\Extension core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Manages the list of available themes. 1 34
ThemeHook class Drupal\system\Hook core/modules/system/src/Hook/ThemeHook.php Hook implementations for system.
ThemeInitialization class Drupal\Core\Theme core/lib/Drupal/Core/Theme/ThemeInitialization.php Provides the theme initialization logic.
ThemeInitializationInterface interface Drupal\Core\Theme core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php Defines an interface which contain theme initialization logic. 1 1
ThemeInstaller class Drupal\Core\Extension core/lib/Drupal/Core/Extension/ThemeInstaller.php Manages theme installation/uninstallation.
ThemeInstallerInterface interface Drupal\Core\Extension core/lib/Drupal/Core/Extension/ThemeInstallerInterface.php Manages theme installation/uninstallation. 1 2
ThemeLocalTask class Drupal\system\Plugin\Derivative core/modules/system/src/Plugin/Derivative/ThemeLocalTask.php Provides dynamic tabs based on active themes. 1
ThemeLocalTask class Drupal\block\Plugin\Derivative core/modules/block/src/Plugin/Derivative/ThemeLocalTask.php Provides dynamic tabs based on active themes. 1
ThemeManager class Drupal\Core\Theme core/lib/Drupal/Core/Theme/ThemeManager.php Provides the default implementation of a theme manager.
ThemeManagerInterface interface Drupal\Core\Theme core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Provides a high level access to the active theme and methods to use it. 1 19
ThemeNegotiator class Drupal\Core\Theme core/lib/Drupal/Core/Theme/ThemeNegotiator.php Provides a class which determines the active theme of the page.
ThemeNegotiatorInterface interface Drupal\Core\Theme core/lib/Drupal/Core/Theme/ThemeNegotiatorInterface.php Defines an interface for classes which determine the active theme. 7 4
ThemeRegistry class Drupal\Core\Utility core/lib/Drupal/Core/Utility/ThemeRegistry.php Builds the run-time theme registry. 1

Pagination

  • First page
  • Previous page
  • …
  • Page 186
  • Page 187
  • Page 188
  • Page 189
  • Page 190
  • Page 191
  • Page 192
  • Page 193
  • Page 194
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal