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 |
|---|---|---|---|---|---|---|---|---|
| ViewsUIController | class | Drupal\views_ui\Controller | core/ |
Returns responses for Views UI routes. | 1 | |||
| ViewsUiIntegrationTest | class | Drupal\Tests\media_library\FunctionalJavascript | core/ |
Tests Media Library's integration with Views UI. | ||||
| ViewsUITourTest | class | Drupal\Tests\views_ui\Functional | core/ |
Tests the Views UI tour. | ||||
| ViewsWizard | class | Drupal\views\Annotation | core/ |
Defines a Plugin annotation object for views wizard plugins. | ||||
| ViewsWizardTest | class | Drupal\Tests\views_ui\FunctionalJavascript | core/ |
Tests views creation wizard. | ||||
| ViewTest | class | Drupal\Tests\jsonapi\Functional | core/ |
JSON:API integration test for the "View" config entity type. | ||||
| ViewTest | class | Drupal\Tests\views\Unit\Plugin\area | core/ |
@coversDefaultClass \Drupal\views\Plugin\views\area\View[[api-linebreak]] @group views | ||||
| ViewTestBase | abstract class | Drupal\Tests\views\Functional | core/ |
Defines a base class for Views testing in the full web test environment. | 91 | 76 | ||
| ViewTestData | class | Drupal\views\Tests | core/ |
Provides tests view data and the base test schema with sample data records. | 70 | |||
| ViewTranslationTest | class | Drupal\Tests\views\Functional | core/ |
Tests views title translation. | ||||
| ViewUI | class | Drupal\views_ui | core/ |
Stores UI related temporary settings. | 6 | |||
| ViewUIConverter | class | Drupal\views_ui\ProxyClass\ParamConverter | core/ |
Provides a proxy class for \Drupal\views_ui\ParamConverter\ViewUIConverter. | ||||
| ViewUIConverter | class | Drupal\views_ui\ParamConverter | core/ |
Provides upcasting for a view entity to be used in the Views UI. | 2 | |||
| ViewUIObjectTest | class | Drupal\Tests\views_ui\Unit | core/ |
@coversDefaultClass \Drupal\views_ui\ViewUI[[api-linebreak]] @group views_ui | ||||
| ViewXmlAnonTest | class | Drupal\Tests\views\Functional\Rest | core/ |
@group rest | ||||
| ViewXmlBasicAuthTest | class | Drupal\Tests\views\Functional\Rest | core/ |
@group rest | ||||
| ViewXmlCookieTest | class | Drupal\Tests\views\Functional\Rest | core/ |
@group rest | ||||
| Vocabulary | class | Drupal\taxonomy\Entity | core/ |
Defines the taxonomy vocabulary entity. | 65 | |||
| Vocabulary | class | Drupal\taxonomy\Plugin\migrate\source\d6 | core/ |
Drupal 6 vocabularies source from database. | 1 | |||
| Vocabulary | class | Drupal\taxonomy\Plugin\migrate\source\d7 | core/ |
Drupal 7 vocabularies source from database. | 2 | 1 | ||
| VocabularyAccessControlHandler | class | Drupal\taxonomy | core/ |
Defines the access control handler for the taxonomy vocabulary entity type. | ||||
| VocabularyCrudTest | class | Drupal\Tests\taxonomy\Kernel | core/ |
Tests loading, saving and deleting vocabularies. | ||||
| VocabularyDeleteForm | class | Drupal\taxonomy\Form | core/ |
Provides a deletion confirmation form for taxonomy vocabulary. | ||||
| VocabularyForm | class | Drupal\taxonomy | core/ |
Base form for vocabulary edit forms. | ||||
| VocabularyHalJsonAnonTest | class | Drupal\Tests\hal\Functional\taxonomy | core/ |
@group hal @group legacy | ||||
| VocabularyHalJsonBasicAuthTest | class | Drupal\Tests\hal\Functional\taxonomy | core/ |
@group hal @group legacy | ||||
| VocabularyHalJsonCookieTest | class | Drupal\Tests\hal\Functional\taxonomy | core/ |
@group hal @group legacy | ||||
| VocabularyInterface | interface | Drupal\taxonomy | core/ |
Provides an interface defining a taxonomy vocabulary entity. | 1 | 11 | ||
| VocabularyJsonAnonTest | class | Drupal\Tests\taxonomy\Functional\Rest | core/ |
@group rest | ||||
| VocabularyJsonBasicAuthTest | class | Drupal\Tests\taxonomy\Functional\Rest | core/ |
@group rest | ||||
| VocabularyJsonCookieTest | class | Drupal\Tests\taxonomy\Functional\Rest | core/ |
@group rest | ||||
| VocabularyLanguageTest | class | Drupal\Tests\taxonomy\Functional | core/ |
Tests the language functionality for vocabularies. | ||||
| VocabularyListBuilder | class | Drupal\taxonomy | core/ |
Defines a class to build a listing of taxonomy vocabulary entities. | ||||
| VocabularyPermissionsTest | class | Drupal\Tests\taxonomy\Functional | core/ |
Tests the taxonomy vocabulary permissions. | ||||
| VocabularyPerType | class | Drupal\taxonomy\Plugin\migrate\source\d6 | core/ |
Drupal 6 vocabularies with associated node types source from database. | ||||
| VocabularyPerTypeTest | class | Drupal\Tests\taxonomy\Kernel\Plugin\migrate\source\d6 | core/ |
Tests D6 vocabulary per type source plugin. | ||||
| VocabularyResetForm | class | Drupal\taxonomy\Form | core/ |
Provides confirmation form for resetting a vocabulary to alphabetical order. | ||||
| VocabularyResourceTestBase | abstract class | Drupal\Tests\taxonomy\Functional\Rest | core/ |
9 | 3 | |||
| VocabularyResponse | class | Drupal\vocabulary_serialization_test | core/ |
|||||
| VocabularyRouteProvider | class | Drupal\taxonomy\Entity\Routing | core/ |
|||||
| VocabularySerializationTest | class | Drupal\Tests\taxonomy\Functional | core/ |
Regression test for https://www.drupal.org/node/2807263. | ||||
| VocabularySerializationTestController | class | Drupal\vocabulary_serialization_test | core/ |
|||||
| VocabularyStorage | class | Drupal\taxonomy | core/ |
Defines a storage handler class for taxonomy vocabularies. | ||||
| VocabularyStorageInterface | interface | Drupal\taxonomy | core/ |
Defines an interface for vocabulary entity storage classes. | 1 | 6 | ||
| VocabularyTest | class | Drupal\Tests\taxonomy\Kernel\Plugin\migrate\source\d6 | core/ |
Tests D6 vocabulary source plugin. | ||||
| VocabularyTest | class | Drupal\Tests\taxonomy\Kernel\Plugin\migrate\source\d7 | core/ |
Tests D7 vocabulary source plugin. | 1 | 1 | ||
| VocabularyTest | class | Drupal\Tests\jsonapi\Functional | core/ |
JSON:API integration test for the "vocabulary" config entity type. | ||||
| VocabularyTranslation | class | Drupal\taxonomy\Plugin\migrate\source\d6 | core/ |
Drupal 6 i18n vocabulary translations source from database. | ||||
| VocabularyTranslation | class | Drupal\taxonomy\Plugin\migrate\source\d7 | core/ |
Drupal 7 i18n vocabulary translations source from database. | ||||
| VocabularyTranslationTest | class | Drupal\Tests\taxonomy\Kernel\Plugin\migrate\source\d6 | core/ |
Tests D6 i18n vocabulary source plugin. |
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.