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 |
|---|---|---|---|---|---|---|---|---|
| TaxonomyTermReference | class | Drupal\taxonomy\Plugin\migrate\field | core/ |
MigrateField Plugin for Drupal 6 & Drupal 7 taxonomy term reference fields. | 1 | |||
| TaxonomyTermReferenceFieldTest | class | Drupal\Tests\taxonomy\Unit\Plugin\migrate\field | core/ |
Tests Drupal\taxonomy\Plugin\migrate\field\TaxonomyTermReference. | ||||
| 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. | 9 | |||
| TaxonomyTestBase | abstract class | Drupal\Tests\taxonomy\Functional | core/ |
Provides common helper methods for Taxonomy module tests. | 20 | |||
| TaxonomyTestBase | abstract class | Drupal\Tests\taxonomy\Functional\Views | core/ |
Base class for all taxonomy tests. | 11 | 1 | ||
| TaxonomyTestHooks | class | Drupal\taxonomy_test\Hook | core/ |
Hook implementations for taxonomy_test. | ||||
| TaxonomyTestTrait | trait | Drupal\Tests\taxonomy\Traits | core/ |
Provides common helper methods for Taxonomy module tests. | 24 | |||
| TaxonomyThemeHooks | class | Drupal\taxonomy\Hook | core/ |
Hook implementations for taxonomy. | 1 | |||
| TaxonomyTokensHooks | class | Drupal\taxonomy\Hook | core/ |
Hook implementations for taxonomy. | ||||
| TaxonomyTranslationTestTrait | trait | Drupal\Tests\taxonomy\Functional | core/ |
Provides common testing base for translated taxonomy terms. | 1 | |||
| TaxonomyViewsFieldAccessTest | class | Drupal\Tests\taxonomy\Kernel\Views | core/ |
Tests base field access in Views for the taxonomy entity. | ||||
| TaxonomyViewsHooks | class | Drupal\taxonomy\Hook | core/ |
Hook implementations for taxonomy. | ||||
| 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. | ||||
| TelephoneDefaultWidget | class | Drupal\telephone\Plugin\Field\FieldWidget | core/ |
Plugin implementation of the 'telephone_default' widget. | ||||
| TelephoneField | class | Drupal\telephone\Plugin\migrate\field\d7 | core/ |
Migrate field plugin for Drupal 7 telephone fields. | ||||
| TelephoneFieldTest | class | Drupal\Tests\telephone\Functional | core/ |
Tests the creation of telephone fields. | ||||
| TelephoneHooks | class | Drupal\telephone\Hook | core/ |
Hook implementations for telephone. | ||||
| TelephoneItem | class | Drupal\telephone\Plugin\Field\FieldType | core/ |
Plugin implementation of the 'telephone' field type. | 2 | |||
| TelephoneItemTest | class | Drupal\Tests\telephone\Kernel | core/ |
Tests the new entity API for the telephone field type. | ||||
| TelephoneLinkFormatter | class | Drupal\telephone\Plugin\Field\FieldFormatter | core/ |
Plugin implementation of the 'telephone_link' formatter. | ||||
| Template | class | Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation | core/ |
|||||
| TemplateProjectTestBase | abstract class | Drupal\Tests\package_manager\Build | core/ |
Base class for tests which create a test site from a core project template. | 4 | |||
| TemporaryArrayObjectThrowingExceptions | class | Drupal\jsonapi\Normalizer\Value | core/ |
An \ArrayObject that throws an exception when used as an ArrayObject. | 1 | |||
| TemporaryQueryGuard | class | Drupal\jsonapi\Access | core/ |
Adds sufficient access control to collection queries. | 1 | |||
| TemporaryQueryTest | class | Drupal\Tests\mysql\Kernel\mysql | core/ |
Tests the temporary query functionality. | 1 | 1 | ||
| TemporaryQueryTest | class | Drupal\Tests\sqlite\Kernel\sqlite | core/ |
Tests the temporary query functionality. | ||||
| TemporaryQueryTest | class | Drupal\Tests\mysqli\Kernel\mysqli | core/ |
Tests the temporary query functionality. | ||||
| TemporaryQueryTest | class | Drupal\Tests\pgsql\Kernel\pgsql | core/ |
Tests the temporary query functionality. | ||||
| TemporaryQueryTestBase | abstract class | Drupal\KernelTests\Core\Database | core/ |
Tests the temporary query functionality. | 3 | 3 | ||
| TemporaryStream | class | Drupal\Core\StreamWrapper | core/ |
Defines a Drupal temporary (temporary://) stream wrapper class. | 2 | |||
| TempStoreDatabaseTest | class | Drupal\KernelTests\Core\TempStore | core/ |
Tests the temporary object storage system. | ||||
| TempStoreException | class | Drupal\Core\TempStore | core/ |
Thrown by SharedTempStore and PrivateTempStore if they cannot acquire a lock. | 2 | |||
| TempStoreIdentifierInterface | interface | Drupal\layout_builder | core/ |
Provides an interface that allows an object to provide its own tempstore key. | 1 | 1 | ||
| Term | class | Drupal\taxonomy\Plugin\migrate\source\d6 | core/ |
Drupal 6 taxonomy term source from database. | 1 | 3 | ||
| Term | class | Drupal\taxonomy\Plugin\migrate\source\d7 | core/ |
Drupal 7 taxonomy term source from database. | 2 | 2 | ||
| Term | class | Drupal\taxonomy\Entity | core/ |
Defines the taxonomy term entity. | 55 | |||
| TermAccessControlHandler | class | Drupal\taxonomy | core/ |
Defines the access control handler for the taxonomy term entity type. | 1 | |||
| TermAccessTest | class | Drupal\Tests\taxonomy\Functional | core/ |
Tests the taxonomy term access permissions. | ||||
| TermAutocompleteTest | class | Drupal\Tests\taxonomy\Functional | core/ |
Tests the autocomplete implementation of the taxonomy class. | ||||
| TermBreadcrumbBuilder | class | Drupal\taxonomy | core/ |
Provides a custom taxonomy breadcrumb builder that uses the term hierarchy. | 2 | |||
| TermCacheTagsTest | class | Drupal\Tests\taxonomy\Functional | core/ |
Tests the Taxonomy term entity's cache tags. | ||||
| TermContextTest | class | Drupal\Tests\taxonomy\Kernel\ContextProvider | core/ |
Tests Drupal\taxonomy\ContextProvider\TermRouteContext. | ||||
| TermContextualLinksTest | class | Drupal\Tests\taxonomy\Functional | core/ |
Tests views contextual links on terms. | ||||
| TermDeleteForm | class | Drupal\taxonomy\Form | core/ |
Provides a deletion confirmation form for taxonomy term. | 1 | |||
| TermDisplayConfigurableTest | class | Drupal\Tests\taxonomy\Functional\Views | core/ |
Tests making taxonomy term base fields' displays configurable. | ||||
| TermEntityQueryTest | class | Drupal\Tests\taxonomy\Kernel | core/ |
Verifies operation of a taxonomy-based Entity Query. | ||||
| TermEntityReferenceTest | class | Drupal\Tests\taxonomy\Kernel | core/ |
Tests the settings of restricting term selection to a single vocabulary. | ||||
| TermEntityTranslation | class | Drupal\taxonomy\Plugin\migrate\source\d7 | core/ |
Drupal 7 taxonomy term entity translation source plugin. | 1 |
Pagination
- Previous page
- Page 187
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.