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
Name | Type | Namespace | Location | Description | Direct uses | Use statements | Strings |
---|---|---|---|---|---|---|---|
TrackChangesTest | class |
Drupal\ |
core/ |
Source plugin for migration track changes tests. | |||
TrackerNode | class |
Drupal\ |
core/ |
Drupal 7 tracker node source from database. | |||
TrackerNodeAccessTest | class |
Drupal\ |
core/ |
Tests for private node access on /tracker. | |||
TrackerNodeTest | class |
Drupal\ |
core/ |
Tests D7 tracker node source plugin. | |||
TrackerRecentContentLinkTest | class |
Drupal\ |
core/ |
Tests recent content link. | |||
TrackerUser | class |
Drupal\ |
core/ |
Drupal 7 tracker user source from database. | |||
TrackerUserTest | class |
Drupal\ |
core/ |
Tests D7 tracker user source plugin. | |||
TrackerUserUidTest | class |
Drupal\ |
core/ |
Tests the tracker user uid handlers. | |||
TraitAccessTest | class |
Drupal\ |
core/ |
Test whether traits are autoloaded during PHPUnit discovery time. | |||
TransactionCommitFailedException | class |
Drupal\ |
core/ |
Exception thrown when a commit() function fails. | |||
TransactionException | class |
Drupal\ |
core/ |
Exception thrown by an error in a database transaction. | 5 | ||
TransactionExplicitCommitNotAllowedException | class |
Drupal\ |
core/ |
Exception to deny attempts to explicitly manage transactions. | |||
TransactionManager | class |
Drupal\ |
core/ |
MySql implementation of TransactionManagerInterface. | |||
TransactionManager | class |
Drupal\ |
core/ |
PostgreSql implementation of TransactionManagerInterface. | |||
TransactionManager | class |
Drupal\ |
core/ |
SQLite implementation of TransactionManagerInterface. | |||
TransactionManagerInterface | interface |
Drupal\ |
core/ |
Interface for the database transaction manager classes. | 2 | ||
TransactionNameNonUniqueException | class |
Drupal\ |
core/ |
Exception thrown when a savepoint or transaction name occurs twice. | |||
TransactionNoActiveException | class |
Drupal\ |
core/ |
Exception for when popTransaction() is called with no active transaction. | |||
TransactionOutOfOrderException | class |
Drupal\ |
core/ |
Exception thrown when a rollBack() resulted in other active transactions being rolled-back. | |||
TransactionTest | class |
Drupal\ |
core/ |
Tests transaction for the SQLite driver. | |||
TransactionTest | class |
Drupal\ |
core/ |
Tests transaction for the PostgreSQL driver. | |||
TransactionTest | class |
Drupal\ |
core/ |
Tests transaction for the MySQL driver. | |||
TransformedConfigExportImportUITest | class |
Drupal\ |
core/ |
Tests the user interface for importing/exporting transformed configuration. | |||
Transition | class |
Drupal\ |
core/ |
A transition value object that describes the transition between states. | 5 | ||
TransitionInterface | interface |
Drupal\ |
core/ |
A transition value object that describes the transition between two states. | 1 | 3 | |
TransitionTest | class |
Drupal\ |
core/ |
@coversDefaultClass \Drupal\workflows\Transition | |||
TranslatableFieldTest | class |
Drupal\ |
core/ |
Tests Layout Builder with a translatable layout field. | |||
TranslatableInterface | interface |
Drupal\ |
core/ |
Interface for translatable data. | 1 | 10 | |
TranslatableInterface | interface |
Drupal\ |
core/ |
Provides methods for an entity to support translation. | 1 | 4 | |
TranslatableMarkup | class |
Drupal\ |
core/ |
Provides translatable markup class. | 2 | 111 | |
TranslatableMarkupTest | class |
Drupal\ |
core/ |
Tests the TranslatableMarkup class. | |||
TranslatableRevisionableInterface | interface |
Drupal\ |
core/ |
Provides methods for an entity to support revision translation. | 1 | ||
TranslatableRevisionableStorageInterface | interface |
Drupal\ |
core/ |
A storage that supports translatable and revisionable entity types. | 1 | ||
TranslatableStorageInterface | interface |
Drupal\ |
core/ |
A storage that supports translatable entity types. | 1 | ||
TranslatedViewTest | class |
Drupal\ |
core/ |
Tests that translated strings in views UI don't override original strings. | |||
TranslateEditForm | class |
Drupal\ |
core/ |
Defines a translation edit form. | |||
TranslateFilterForm | class |
Drupal\ |
core/ |
Provides a filtered translation edit form. | |||
TranslateFormBase | abstract class |
Drupal\ |
core/ |
Defines the locale user interface translation form base. | 2 | ||
Translation | class |
Drupal\ |
core/ |
Defines a translatable annotation object. | 1 | ||
TranslationInterface | interface |
Drupal\ |
core/ |
Interface for the translation.manager translation service. | 2 | 56 | |
TranslationLanguageRenderer | class |
Drupal\ |
core/ |
Renders entity translations in their row language. | |||
TranslationLink | class |
Drupal\ |
core/ |
||||
TranslationLinkTest | class |
Drupal\ |
core/ |
Tests the content translation overview link field handler. | |||
TranslationManager | class |
Drupal\ |
core/ |
Defines a chained translation implementation combining multiple translators. | 1 | 4 | 2 |
TranslationManagerTest | class |
Drupal\ |
core/ |
@coversDefaultClass \Drupal\Core\StringTranslation\TranslationManager @group StringTranslation | |||
TranslationsStream | class |
Drupal\ |
core/ |
Defines a Drupal translations (translations://) stream wrapper class. | 2 | ||
TranslationStatusInterface | interface |
Drupal\ |
core/ |
Defines an interface for checking the status of an entity translation. | 2 | ||
TranslationsTest | class |
Drupal\ |
core/ |
Tests media library for translatable media. | |||
TranslationString | class |
Drupal\ |
core/ |
Defines the locale translation string object. | 1 | ||
TranslationStringTest | class |
Drupal\ |
core/ |
Tests the TranslatableMarkup class. |