Classes, traits, and interfaces - main - drupal
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 1529
| Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
|---|---|---|---|---|---|---|---|---|
| SystemPoweredByBlock | class | Drupal\system\Plugin\Block | core/ |
Provides a 'Powered by Drupal' block. | ||||
| SystemRequirements | class | Drupal\system\Install\Requirements | core/ |
Install time requirements for the system module. | 2 | |||
| SystemRequirementsHooks | class | Drupal\system\Hook | core/ |
Requirements hook implementations for system module. | 3 | |||
| SystemRssDeleteTest | class | Drupal\Tests\system\Functional\Update | core/ |
Tests that system.rss config is deleted. | ||||
| SystemTestController | class | Drupal\system_test\Controller | core/ |
Controller routines for system_test routes. | 1 | |||
| SystemTestHooks | class | Drupal\system_test\Hook | core/ |
Hook implementations for system_test. | ||||
| SystemThemeHooks | class | Drupal\system\Hook | core/ |
Hook implementations for system. | ||||
| SystemTokensHooks | class | Drupal\system\Hook | core/ |
Hook implementations for system. | ||||
| SystemUpdate7000 | in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. |
class | Drupal\system\Plugin\migrate\process\d6 | core/ |
Rename blog and forum permissions to be consistent with other content types. | |||
| TabbingManagerTestController | class | Drupal\tabbingmanager_test\Controller | core/ |
For testing the Tabbing Manager. | ||||
| Table | class | Drupal\views\Plugin\views\style | core/ |
Style plugin to render each item as a row in a table. | 1 | |||
| Table | class | Drupal\Core\Render\Element | core/ |
Provides a render element for a table. | 2 | 1 | ||
| TableDragTest | class | Drupal\FunctionalJavascriptTests\TableDrag | core/ |
Tests draggable table. | 1 | 1 | ||
| TableDragTestForm | class | Drupal\tabledrag_test\Form | core/ |
Provides a form for draggable table testing. | 1 | 1 | ||
| TabledragWarningCommand | class | Drupal\Core\Ajax | core/ |
AJAX command for conveying changed tabledrag rows. | 1 | |||
| TableFormatter | class | Drupal\file\Plugin\Field\FieldFormatter | core/ |
Plugin implementation of the 'file_table' formatter. | ||||
| TableMappingInterface | interface | Drupal\Core\Entity\Sql | core/ |
Provides a common interface for mapping field columns to SQL tables. | 1 | 5 | ||
| Tables | class | Drupal\Core\Entity\Query\Sql | core/ |
Adds database tables and fields to the SQL entity query. | 1 | 1 | ||
| Tables | class | Drupal\workspaces\EntityQuery | core/ |
Alters entity queries to use a workspace revision instead of the default one. | ||||
| Tableselect | class | Drupal\Core\Render\Element | core/ |
Provides a form element for a table with radios or checkboxes in left column. | 1 | |||
| TableSelectTest | class | Drupal\Tests\Core\Render\Element | core/ |
Tests Drupal\Core\Render\Element\Tableselect. | ||||
| TablesInterface | interface | Drupal\Core\Entity\Query\Sql | core/ |
Adds tables and fields to the SQL entity query. | 1 | |||
| TableSort | class | Drupal\Core\Utility | core/ |
Provides a class for table sorting processing and rendering. | 5 | |||
| TableSortExtender | class | Drupal\Core\Database\Query | core/ |
Query extender class for tablesort queries. | 1 | 4 | ||
| TableSortExtender | class | Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses | core/ |
CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Query\TableSortExtender. | ||||
| TableSortExtenderTest | class | Drupal\KernelTests\Core\Render\Element | core/ |
Tests table sorting. | ||||
| TableTest | class | Drupal\KernelTests\Core\Render\Element | core/ |
Tests built-in table theme functions. | ||||
| TableTest | class | Drupal\Tests\ckeditor5\FunctionalJavascript | core/ |
For testing the table plugin. | ||||
| Tag | class | Drupal\views\Plugin\views\cache | core/ |
Simple caching of query results for Views displays. | ||||
| TaggedHandlersPass | class | Drupal\Core\DependencyInjection\Compiler | core/ |
Collects services to add/inject them into a consumer service. | 2 | |||
| TaggedHandlersPassTest | class | Drupal\Tests\Core\DependencyInjection\Compiler | core/ |
Tests Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass. | ||||
| TaggedWithTest | class | Drupal\Tests\views\Functional\Wizard | core/ |
Tests the ability of the views wizard to create views filtered by taxonomy. | ||||
| TaggingTest | class | Drupal\KernelTests\Core\Database | core/ |
Tests the tagging capabilities of the Select builder. | ||||
| Tags | class | Drupal\Component\Utility | core/ |
Defines a class that can explode and implode tags. | 8 | |||
| TagsTest | class | Drupal\Tests\Core\Common | core/ |
Tests explosion and implosion of autocomplete tags. | ||||
| TagTest | class | Drupal\Tests\views_ui\Kernel | core/ |
Tests the views ui tagging functionality. | ||||
| Tar | in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. |
class | Drupal\Core\Archiver | core/ |
Defines an archiver implementation for .tar files. | 1 | 2 | |
| Tar | class | Drupal\system\Plugin\Archiver | core/ |
Defines an archiver implementation for .tar files. | ||||
| Target | final class | Drupal\Component\Annotation\Doctrine\Annotation | core/ |
Annotation that can be used to signal to the parser to check the annotation target during the parsing process. | 2 | |||
| TargetBundle | in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. |
class | Drupal\taxonomy\Plugin\migrate\process | core/ |
Converts a Drupal 6 vocabulary ID to a target bundle array. | |||
| TargetIdResolver | class | Drupal\serialization\EntityResolver | core/ |
Resolves entities from data that contains an entity target ID. | 2 | |||
| TarTest | class | Drupal\KernelTests\Core\Archiver | core/ |
Tests Drupal\Core\Archiver\Tar. | ||||
| Tasks | class | Drupal\mysqli\Driver\Database\mysqli\Install | core/ |
Specifies installation tasks for MySQLi. | ||||
| Tasks | class | Drupal\driver_missing_dependency_test\Driver\Database\MissingDependency\Install | core/ |
Specifies fake installation tasks for test. | ||||
| Tasks | class | Drupal\pgsql\Driver\Database\pgsql\Install | core/ |
Specifies installation tasks for PostgreSQL databases. | 1 | 1 | ||
| Tasks | class | Drupal\core_fake\Driver\Database\CoreFake\Install | core/ |
Specifies installation tasks for CoreFake. | ||||
| Tasks | class | Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses\Install | core/ |
Specifies installation tasks for CoreFakeWithAllCustomClasses. | ||||
| Tasks | class | Drupal\Core\Database\Driver\CoreFake\Install | core/ |
The database installer structure for the fake database driver. | 1 | 1 | ||
| Tasks | class | Drupal\Driver\Database\CoreFake\Install | core/ |
The database installer structure for a custom database driver. | ||||
| Tasks | class | Drupal\Driver\Database\fake\Install | core/ |
A task for testing database drivers. |
Pagination
- Previous page
- Page 185
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.