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