Classes, traits, and interfaces - 10.3.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 1518
| Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
|---|---|---|---|---|---|---|---|---|
| GenericTest | class | Drupal\Tests\comment\Functional | core/ |
Generic module test for comment. | ||||
| GenericTest | class | Drupal\Tests\migrate\Functional | core/ |
Generic module test for migrate. | ||||
| GenericTest | class | Drupal\Tests\content_translation\Functional | core/ |
Generic module test for content_translation. | ||||
| GenericTest | class | Drupal\Tests\datetime_range\Functional | core/ |
Generic module test for datetime_range. | ||||
| GenericTest | class | Drupal\Tests\layout_discovery\Functional | core/ |
Generic module test for layout_discovery. | ||||
| GenericTest | class | Drupal\Tests\text\Functional | core/ |
Generic module test for text. | ||||
| GenericTest | class | Drupal\Tests\block_content\Functional | core/ |
Generic module test for block_content. | ||||
| GenericTest | class | Drupal\Tests\automated_cron\Functional | core/ |
Generic module test for automated_cron. | ||||
| GenericTest | class | Drupal\Tests\path\Functional | core/ |
Generic module test for path. | ||||
| GenericTest | class | Drupal\Tests\views\Functional | core/ |
Generic module test for views. | ||||
| GenericTest | class | Drupal\Tests\link\Functional | core/ |
Generic module test for link. | ||||
| GenericTest | class | Drupal\Tests\taxonomy\Functional | core/ |
Generic module test for taxonomy. | ||||
| GenericTest | class | Drupal\Tests\breakpoint\Functional | core/ |
Generic module test for breakpoint. | ||||
| GenericTest | class | Drupal\Tests\user\Functional | core/ |
Generic module test for user. | ||||
| GenericTest | class | Drupal\Tests\phpass\Functional | core/ |
Generic module test for phpass. | ||||
| GenericTest | class | Drupal\Tests\navigation_top_bar\Functional | core/ |
Generic module test for navigation_top_bar. | ||||
| GenericTest | class | Drupal\Tests\tracker\Functional | core/ |
Generic module test for tracker. | ||||
| GenericTest | class | Drupal\Tests\tour\Functional | core/ |
Generic module test for tour. | ||||
| GenericTest | class | Drupal\Tests\action\Functional | core/ |
Generic module test for action. | ||||
| GenericTest | class | Drupal\Tests\forum\Functional | core/ |
Generic module test for forum. | ||||
| GenericTest | class | Drupal\Tests\statistics\Functional | core/ |
Generic module test for statistics. | ||||
| GenericTest | class | Drupal\Tests\book\Functional | core/ |
Generic module test for book. | ||||
| GenericTest | class | Drupal\Tests\settings_tray\Functional | core/ |
Generic module test for settings_tray. | ||||
| GenericTest | class | Drupal\Tests\media\Functional | core/ |
Generic module test for media. | ||||
| GenericTest | class | Drupal\Tests\ckeditor5\Functional | core/ |
Generic module test for ckeditor5. | ||||
| GenericTest | class | Drupal\Tests\search\Functional | core/ |
Generic module test for search. | ||||
| GenericTest | class | Drupal\Tests\node\Functional | core/ |
Generic module test for node. | ||||
| GenericTest | class | Drupal\Tests\content_moderation\Functional | core/ |
Generic module test for content_moderation. | ||||
| GenericTest | class | Drupal\Tests\shortcut\Functional | core/ |
Generic module test for shortcut. | ||||
| GenericTest | class | Drupal\Tests\options\Functional | core/ |
Generic module test for options. | ||||
| GenericTest | class | Drupal\Tests\menu_link_content\Functional | core/ |
Generic module test for menu_link_content. | ||||
| GenericTest | class | Drupal\Tests\menu_ui\Functional | core/ |
Generic module test for menu_ui. | ||||
| GenericTest | class | Drupal\Tests\workspaces\Functional | core/ |
Generic module test for workspaces. | ||||
| GenericTest | class | Drupal\Tests\sqlite\Functional | core/ |
Generic module test for sqlite. | ||||
| GenericTest | class | Drupal\Tests\history\Functional | core/ |
Generic module test for history. | ||||
| GenericTest | class | Drupal\Tests\file\Functional | core/ |
Generic module test for file. | ||||
| GenericTest | class | Drupal\Tests\locale\Functional | core/ |
Generic module test for locale. | ||||
| GenericTest | class | Drupal\Tests\page_cache\Functional | core/ |
Generic module test for page_cache. | ||||
| GenericTest | class | Drupal\Tests\responsive_image\Functional | core/ |
Generic module test for responsive_image. | ||||
| GenericTest | class | Drupal\Tests\migrate_drupal\Functional | core/ |
Generic module test for migrate_drupal. | ||||
| GenericTest | class | Drupal\Tests\navigation\Functional | core/ |
Generic module test for contextual. | ||||
| GenericTest | class | Drupal\Tests\dblog\Functional | core/ |
Generic module test for dblog. | ||||
| GenericTest | class | Drupal\Tests\field\Functional | core/ |
Generic module test for field. | ||||
| GenericTest | class | Drupal\Tests\media_library\Functional | core/ |
Generic module test for media_library. | ||||
| GenericTest | class | Drupal\Tests\layout_builder_expose_all_field_blocks\Functional | core/ |
Generic module test for layout_builder_expose_all_field_blocks. | ||||
| GenericTest | class | Drupal\Tests\layout_builder\Functional | core/ |
Generic module test for layout_builder. | ||||
| GenericTest | class | Drupal\Tests\contact\Functional | core/ |
Generic module test for contact. | ||||
| GenericTest | class | Drupal\Tests\config\Functional | core/ |
Generic module test for config. | ||||
| GenericTest | class | Drupal\Tests\mysql\Functional | core/ |
Generic module test for mysql. | ||||
| GenericTest | class | Drupal\Tests\path_alias\Functional | core/ |
Generic module test for path_alias. |
Pagination
- Previous page
- Page 85
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.