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 |
|---|---|---|---|---|---|---|---|---|
| GeneratedUrl | class | Drupal\Core | core/ |
Used to return generated URLs, along with associated bubbleable metadata. | 25 | |||
| GeneratePermutationsTrait | trait | Drupal\Tests\Traits\Core | core/ |
Adds ability to convert a list of parameters into a stack of permutations. | 3 | |||
| GenerateProxyClassApplication | class | Drupal\Core\Command | core/ |
Provides a console command to generate proxy classes. | 1 | |||
| GenerateProxyClassCommand | class | Drupal\Core\Command | core/ |
Provides a console command to generate proxy classes. | ||||
| GenerateTheme | class | Drupal\Core\Command | core/ |
Generates a new theme based on latest default markup. | 1 | |||
| GenerateThemeTest | class | Drupal\BuildTests\Command | core/ |
Tests the generate-theme commands. | ||||
| GeneratorNotInitializedException | class | Drupal\Core\Routing | core/ |
Class for exceptions thrown when the generator has not been initialized. | ||||
| GenericCacheBackendUnitTestBase | abstract class | Drupal\KernelTests\Core\Cache | core/ |
Tests any cache backend. | 8 | |||
| GenericFileFormatter | class | Drupal\file\Plugin\Field\FieldFormatter | core/ |
Plugin implementation of the 'file_default' formatter. | ||||
| GenericModuleTestBase | abstract class | Drupal\Tests\system\Functional\Module | core/ |
Runs a series of generic tests for one module. | 74 | 74 | ||
| GenericRecipeTestBase | abstract class | Drupal\Tests\system\Functional\Recipe | core/ |
Runs a series of generic tests for one recipe. | 27 | 27 | ||
| GenericTest | class | Drupal\Tests\system\Functional | core/ |
Generic module test for system. | ||||
| GenericTest | class | Drupal\Tests\filter\Functional | core/ |
Generic module test for filter. | ||||
| GenericTest | class | Drupal\Tests\serialization\Functional | core/ |
Generic module test for serialization. | ||||
| 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\rest\Functional | core/ |
Generic module test for rest. | ||||
| GenericTest | class | Drupal\Tests\inline_form_errors\Functional | core/ |
Generic module test for inline_form_errors. | ||||
| 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\datetime\Functional | core/ |
Generic module test for datetime. | ||||
| GenericTest | class | Drupal\Tests\migrate_drupal_ui\Functional | core/ |
Generic module test for migrate_drupal_ui. | ||||
| GenericTest | class | Drupal\Tests\image\Functional | core/ |
Generic module test for image. | ||||
| GenericTest | class | Drupal\Tests\basic_auth\Functional | core/ |
Generic module test for basic_auth. | ||||
| GenericTest | class | Drupal\Tests\update\Functional | core/ |
Generic module test for update. | ||||
| GenericTest | class | Drupal\Tests\toolbar\Functional | core/ |
Generic module test for toolbar. | ||||
| GenericTest | class | Drupal\Tests\workflows\Functional | core/ |
Generic module test for workflows. | ||||
| GenericTest | class | Drupal\Tests\ban\Functional | core/ |
Generic module test for ban. | ||||
| GenericTest | class | Drupal\Tests\field_ui\Functional | core/ |
Generic module test for field_ui. | ||||
| GenericTest | class | Drupal\Tests\syslog\Functional | core/ |
Generic module test for syslog. | ||||
| GenericTest | class | Drupal\Tests\announcements_feed\Functional | core/ |
Generic module test for announcements_feed. | ||||
| GenericTest | class | Drupal\Tests\help\Functional | core/ |
Generic module test for help. | ||||
| GenericTest | class | Drupal\Tests\migrate\Functional | core/ |
Generic module test for migrate. | ||||
| GenericTest | class | Drupal\Tests\user\Functional | core/ |
Generic module test for user. | ||||
| GenericTest | class | Drupal\Tests\mysqli\Functional | core/ |
Generic module test for mysqli. | ||||
| GenericTest | class | Drupal\Tests\phpass\Functional | core/ |
Generic module test for phpass. | ||||
| GenericTest | class | Drupal\FunctionalTests\Recipe\Core\content_search | core/ |
Tests Generic. | ||||
| GenericTest | class | Drupal\FunctionalTests\Recipe\Core\basic_shortcuts | core/ |
Tests Generic. | ||||
| GenericTest | class | Drupal\FunctionalTests\Recipe\Core\page_content_type | core/ |
Tests Generic. | ||||
| GenericTest | class | Drupal\FunctionalTests\Recipe\Core\basic_html_format_editor | core/ |
Tests Generic. | ||||
| GenericTest | class | Drupal\FunctionalTests\Recipe\Core\core_recommended_performance | core/ |
Tests Generic. | ||||
| GenericTest | class | Drupal\FunctionalTests\Recipe\Core\administrator_role | core/ |
Tests Generic. | ||||
| GenericTest | class | Drupal\FunctionalTests\Recipe\Core\remote_video_media_type | core/ |
Tests Generic. | ||||
| GenericTest | class | Drupal\FunctionalTests\Recipe\Core\article_tags | core/ |
Tests Generic. | ||||
| GenericTest | class | Drupal\FunctionalTests\Recipe\Core\content_editor_role | core/ |
Tests Generic. |
Pagination
- Previous page
- Page 91
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.