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 |
|---|---|---|---|---|---|---|---|---|
| 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. | ||||
| Tasks | abstract class | Drupal\Core\Database\Install | core/ |
Database installer structure. | 8 | 9 | ||
| Tasks | class | Drupal\sqlite\Driver\Database\sqlite\Install | core/ |
Specifies installation tasks for SQLite databases. | 6 | |||
| Tasks | class | Drupal\mysql\Driver\Database\mysql\Install | core/ |
Specifies installation tasks for MySQL and equivalent databases. | 4 | 5 | ||
| Tasks | class | Drupal\dummydb\Driver\Database\dummydb\Install | core/ |
Specifies installation tasks for DummyDB test database. | ||||
| Tasks | class | Drupal\driver_test\Driver\Database\DriverTestMysql\Install | core/ |
Specifies installation tasks for MySQL test databases. | ||||
| Tasks | class | Drupal\driver_test\Driver\Database\DriverTestMysqlDeprecatedVersion\Install | core/ |
Specifies installation tasks for MySQL test databases. | ||||
| Tasks | class | Drupal\driver_test\Driver\Database\DriverTestPgsql\Install | core/ |
Specifies installation tasks for PostgreSQL databases. | ||||
| Taxonomy | class | Drupal\taxonomy\Plugin\views\argument | core/ |
Argument handler for basic taxonomy tid. | ||||
| TaxonomyController | class | Drupal\taxonomy\Controller | core/ |
Provides route responses for taxonomy.module. | ||||
| TaxonomyCrudHooks | class | Drupal\taxonomy_crud\Hook | core/ |
Hook implementations for taxonomy_crud. | ||||
| TaxonomyDefaultArgumentTest | class | Drupal\Tests\taxonomy\Kernel\Views | core/ |
Tests the representative node relationship for terms. | ||||
| TaxonomyDefaultArgumentTest | class | Drupal\Tests\taxonomy\Functional\Views | core/ |
Tests the representative node relationship for terms. | ||||
| TaxonomyFieldAllTermsTest | class | Drupal\Tests\taxonomy\Functional\Views | core/ |
Tests the "All terms" taxonomy term field handler. | ||||
| TaxonomyFieldAllTermsTest | class | Drupal\Tests\taxonomy\Kernel\Views | core/ |
Tests the "All terms" taxonomy term field handler. | ||||
| TaxonomyFieldFilterTest | class | Drupal\Tests\taxonomy\Functional\Views | core/ |
Tests taxonomy field filters with translations. | ||||
| TaxonomyFieldHooks | class | Drupal\taxonomy\Hook | core/ |
Field and Field UI hook implementations for Taxonomy module. | ||||
| TaxonomyFieldTidTest | class | Drupal\Tests\taxonomy\Kernel\Views | core/ |
Tests the taxonomy term TID field handler. | ||||
| TaxonomyFieldVidTest | class | Drupal\Tests\taxonomy\Kernel\Views | core/ |
Tests the taxonomy term VID field handler. | ||||
| TaxonomyGlossaryTest | class | Drupal\Tests\views\Functional | core/ |
Tests glossary functionality of taxonomy views. | ||||
| TaxonomyHooks | class | Drupal\taxonomy\Hook | core/ |
Hook implementations for taxonomy. | ||||
| TaxonomyImageTest | class | Drupal\Tests\taxonomy\Functional | core/ |
Tests image upload on taxonomy terms. | ||||
| TaxonomyIndexDepthQueryTrait | trait | Drupal\taxonomy | core/ |
Builds a performant depth subquery and adds it as a join to the query. | 2 | |||
| TaxonomyIndexTid | class | Drupal\taxonomy\Plugin\views\field | core/ |
Field handler to display all taxonomy terms of a node. | ||||
| TaxonomyIndexTid | class | Drupal\taxonomy\Plugin\views\filter | core/ |
Filter by term id. | 1 | |||
| TaxonomyIndexTidDepth | class | Drupal\taxonomy\Plugin\views\filter | core/ |
Filter handler for taxonomy terms with depth. | ||||
| TaxonomyIndexTidFilterTest | class | Drupal\Tests\taxonomy\Kernel\Views | core/ |
Test the taxonomy term index filter. | ||||
| TaxonomyIndexTidUiTest | class | Drupal\Tests\taxonomy\Functional\Views | core/ |
Tests the taxonomy index filter handler UI. | ||||
| TaxonomyLocalTasksTest | class | Drupal\Tests\taxonomy\Unit\Menu | core/ |
Tests existence of taxonomy local tasks. |
Pagination
- Previous page
- Page 188
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.