Classes, traits, and interfaces - 9.5.x - 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 1523
| Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
|---|---|---|---|---|---|---|---|---|
| Tasks | in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module. |
class | Drupal\Core\Database\Driver\pgsql\Install | core/ |
Specifies installation tasks for PostgreSQL databases. | 1 | ||
| Tasks | abstract class | Drupal\Core\Database\Install | core/ |
Database installer structure. | 7 | 7 | ||
| Tasks | class | Drupal\corefake\Driver\Database\corefake\Install | core/ |
Specifies installation tasks for corefake. | ||||
| Tasks | class | Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\Install | core/ |
Specifies installation tasks for corefakeWithAllCustomClasses. | ||||
| Tasks | class | Drupal\Core\Database\Driver\corefake\Install | core/ |
1 | 1 | |||
| Tasks | class | Drupal\Driver\Database\corefake\Install | core/ |
1 | ||||
| Tasks | class | Drupal\Driver\Database\fake\Install | core/ |
1 | ||||
| Taxonomy | class | Drupal\taxonomy\Plugin\views\argument | core/ |
Argument handler for basic taxonomy tid. | ||||
| TaxonomyAttributesTest | class | Drupal\Tests\rdf\Functional | core/ |
Tests the RDFa markup of Taxonomy terms. | ||||
| TaxonomyController | class | Drupal\taxonomy\Controller | core/ |
Provides route responses for taxonomy.module. | ||||
| 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. | ||||
| TaxonomyDeprecationTest | class | Drupal\Tests\taxonomy\Kernel | core/ |
@group taxonomy @group legacy | ||||
| TaxonomyFieldAllTermsTest | class | Drupal\Tests\taxonomy\Functional\Views | core/ |
Tests the "All terms" taxonomy term field handler. | ||||
| TaxonomyFieldFilterTest | class | Drupal\Tests\taxonomy\Functional\Views | core/ |
Tests taxonomy field filters with translations. | ||||
| 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. | ||||
| 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. | ||||
| TaxonomyParentUITest | class | Drupal\Tests\taxonomy\Functional\Views | core/ |
Tests views taxonomy parent plugin UI. | ||||
| TaxonomyPermissions | class | Drupal\taxonomy | core/ |
Provides dynamic permissions of the taxonomy module. | ||||
| TaxonomyQueryAlterTest | class | Drupal\Tests\taxonomy\Kernel | core/ |
Tests that appropriate query tags are added. | ||||
| TaxonomyRelationshipTest | class | Drupal\Tests\taxonomy\Functional\Views | core/ |
Tests taxonomy relationships with parent term and node. | ||||
| TaxonomyTerm | class | Drupal\taxonomy\Plugin\views\wizard | core/ |
Tests creating taxonomy views with the wizard. | ||||
| TaxonomyTermArgumentDepthTest | class | Drupal\Tests\taxonomy\Kernel\Views | core/ |
Test the taxonomy term with depth argument. | ||||
| TaxonomyTermArgumentDepthTest | class | Drupal\Tests\taxonomy\Functional\Views | core/ |
Tests the taxonomy term with depth argument. | ||||
| TaxonomyTermDeriverTest | class | Drupal\Tests\taxonomy\Kernel\Migrate | core/ |
Tests d7 taxonomy term deriver. | ||||
| TaxonomyTermFilterDepthTest | class | Drupal\Tests\taxonomy\Kernel\Views | core/ |
Test the taxonomy term with depth filter. | ||||
| TaxonomyTermFilterDepthTest | class | Drupal\Tests\taxonomy\Functional\Views | core/ |
Test the taxonomy term with depth filter. | ||||
| TaxonomyTermHierarchyConstraint | class | Drupal\taxonomy\Plugin\Validation\Constraint | core/ |
Validation constraint for changing the term hierarchy in pending revisions. | ||||
| TaxonomyTermHierarchyConstraintValidator | class | Drupal\taxonomy\Plugin\Validation\Constraint | core/ |
Constraint validator for changing term parents in pending revisions. | ||||
| TaxonomyTermIndentationTest | class | Drupal\Tests\taxonomy\Functional | core/ |
Ensure that the term indentation works properly. | ||||
| TaxonomyTermPagerTest | class | Drupal\Tests\taxonomy\Functional | core/ |
Ensures that the term pager works properly. | ||||
| TaxonomyTermReference | class | Drupal\taxonomy\Plugin\migrate\field | core/ |
Plugin annotation @MigrateField( id = "taxonomy_term_reference", type_map = { "taxonomy_term_reference" = "entity_reference" }, core = {6,7}, source_module = "taxonomy", destination_module = "core", ) | 1 | |||
| TaxonomyTermReferenceFieldTest | class | Drupal\Tests\taxonomy\Unit\Plugin\migrate\field | core/ |
@coversDefaultClass \Drupal\taxonomy\Plugin\migrate\field\TaxonomyTermReference[[api-linebreak]] @group taxonomy | ||||
| TaxonomyTermViewTest | class | Drupal\Tests\taxonomy\Functional\Views | core/ |
Tests the taxonomy term view page and its translation. | ||||
| TaxonomyTestBase | abstract class | Drupal\Tests\taxonomy\Kernel\Views | core/ |
Base class for views kernel taxonomy tests. | 7 | |||
| TaxonomyTestBase | abstract class | Drupal\Tests\taxonomy\Functional | core/ |
Provides common helper methods for Taxonomy module tests. | 21 | 2 | ||
| TaxonomyTestBase | abstract class | Drupal\Tests\taxonomy\Functional\Views | core/ |
Base class for all taxonomy tests. | 11 | |||
| TaxonomyTestTrait | trait | Drupal\Tests\taxonomy\Traits | core/ |
Provides common helper methods for Taxonomy module tests. | 13 | |||
| TaxonomyTranslationTestTrait | trait | Drupal\Tests\taxonomy\Functional | core/ |
Provides common testing base for translated taxonomy terms. | ||||
| TaxonomyViewsFieldAccessTest | class | Drupal\Tests\taxonomy\Kernel\Views | core/ |
Tests base field access in Views for the taxonomy entity. | ||||
| TaxonomyVocabularyArgumentTest | class | Drupal\Tests\taxonomy\Functional\Views | core/ |
Tests the vocabulary argument. | ||||
| Tel | class | Drupal\Core\Render\Element | core/ |
Provides a form element for entering a telephone number. |
Pagination
- Previous page
- Page 160
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.