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 |
|---|---|---|---|---|---|---|---|---|
| GenericTest | class | Drupal\Tests\language\Kernel | core/ |
Generic module test for language. | ||||
| GenericTest | class | Drupal\Tests\dynamic_page_cache\Kernel | core/ |
Generic module test for dynamic_page_cache. | ||||
| GenericTest | class | Drupal\Tests\jsonapi\Kernel | core/ |
Generic module test for jsonapi. | ||||
| GenericTest | class | Drupal\Tests\config_translation\Kernel | core/ |
Generic module test for config_translation. | ||||
| GenericTest | class | Drupal\Tests\field\Kernel | core/ |
Generic module test for field. | ||||
| GenericTest | class | Drupal\Tests\media_library\Kernel | core/ |
Generic module test for media_library. | ||||
| GenericTest | class | Drupal\Tests\layout_builder\Kernel | core/ |
Generic module test for layout_builder. | ||||
| GenericTest | class | Drupal\Tests\content_moderation\Kernel | core/ |
Generic module test for content_moderation. | ||||
| GenericTest | class | Drupal\Tests\options\Kernel | core/ |
Generic module test for options. | ||||
| GenericTest | class | Drupal\Tests\menu_link_content\Kernel | core/ |
Generic module test for menu_link_content. | ||||
| GenericTest | class | Drupal\Tests\menu_ui\Kernel | core/ |
Generic module test for menu_ui. | ||||
| GenericTest | class | Drupal\Tests\sqlite\Kernel | core/ |
Generic module test for sqlite. | ||||
| GenericTest | class | Drupal\Tests\mailer\Kernel | core/ |
Generic module test for mailer. | ||||
| GenericTest | class | Drupal\Tests\ckeditor5\Kernel | core/ |
Generic module test for ckeditor5. | ||||
| GenericTest | class | Drupal\Tests\config\Kernel | core/ |
Generic module test for config. | ||||
| GenericTest | class | Drupal\Tests\mysql\Kernel | core/ |
Generic module test for mysql. | ||||
| GenericTest | class | Drupal\Tests\package_manager\Kernel | core/ |
Generic module test for package_manager. | ||||
| GenericTest | class | Drupal\Tests\path_alias\Kernel | core/ |
Generic module test for path_alias. | ||||
| GenericTest | class | Drupal\Tests\serialization\Kernel | core/ |
Generic module test for serialization. | ||||
| GenericTest | class | Drupal\Tests\views\Kernel | core/ |
Generic module test for views. | ||||
| GenericTest | class | Drupal\Tests\link\Kernel | core/ |
Generic module test for link. | ||||
| GenericTest | class | Drupal\Tests\rest\Kernel | core/ |
Generic module test for rest. | ||||
| GenericTest | class | Drupal\Tests\inline_form_errors\Kernel | core/ |
Generic module test for inline_form_errors. | ||||
| GenericTest | class | Drupal\Tests\workflows\Kernel | core/ |
Generic module test for workflows. | ||||
| GenericTest | class | Drupal\Tests\field_ui\Kernel | core/ |
Generic module test for field_ui. | ||||
| GenericTest | class | Drupal\Tests\syslog\Kernel | core/ |
Generic module test for syslog. | ||||
| GenericTest | class | Drupal\Tests\announcements_feed\Kernel | core/ |
Generic module test for announcements_feed. | ||||
| GenericTest | class | Drupal\Tests\help\Kernel | core/ |
Generic module test for help. | ||||
| GenericTest | class | Drupal\Tests\migrate\Kernel | core/ |
Generic module test for migrate. | ||||
| GenericTest | class | Drupal\Tests\content_translation\Kernel | core/ |
Generic module test for content_translation. | ||||
| GenericTest | class | Drupal\Tests\datetime_range\Kernel | core/ |
Generic module test for datetime_range. | ||||
| GenericTest | class | Drupal\Tests\layout_discovery\Kernel | core/ |
Generic module test for layout_discovery. | ||||
| GenericTest | class | Drupal\Tests\text\Kernel | core/ |
Generic module test for text. | ||||
| GenericTest | class | Drupal\Tests\block_content\Kernel | core/ |
Generic module test for block_content. | ||||
| GenericTest | class | Drupal\Tests\system\Kernel | core/ |
Generic module test for system. | ||||
| GenericTest | class | Drupal\Tests\automated_cron\Kernel | core/ |
Generic module test for automated_cron. | ||||
| GenericTest | class | Drupal\Tests\path\Kernel | core/ |
Generic module test for path. | ||||
| GenericTest | class | Drupal\Tests\datetime\Kernel | core/ |
Generic module test for datetime. | ||||
| GenericTest | class | Drupal\Tests\image\Kernel | core/ |
Generic module test for image. | ||||
| GenericTest | class | Drupal\Tests\basic_auth\Kernel | core/ |
Generic module test for basic_auth. | ||||
| GenericTest | class | Drupal\Tests\update\Kernel | core/ |
Generic module test for update. | ||||
| GenericTest | class | Drupal\Tests\comment\Kernel | core/ |
Generic module test for comment. | ||||
| GenericTest | class | Drupal\Tests\block\Kernel | core/ |
Generic module test for block. | ||||
| GenericTest | class | Drupal\Tests\views_ui\Kernel | core/ |
Generic module test for views_ui. | ||||
| GenericTest | class | Drupal\Tests\pgsql\Kernel | core/ |
Generic module test for pgsql. | ||||
| GenericTest | class | Drupal\Tests\contextual\Kernel | core/ |
Generic module test for contextual. | ||||
| GenericTest | class | Drupal\Tests\editor\Kernel | core/ |
Generic module test for editor. | ||||
| GenericTest | class | Drupal\Tests\big_pipe\Kernel | core/ |
Generic module test for big_pipe. | ||||
| GenericTest | class | Drupal\Tests\taxonomy\Kernel | core/ |
Generic module test for taxonomy. | ||||
| GenericTest | class | Drupal\Tests\breakpoint\Kernel | core/ |
Generic module test for breakpoint. |
Pagination
- Previous page
- Page 97
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.