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 |
|---|---|---|---|---|---|---|---|---|
| QueueExceptionsTest | class | Drupal\Tests\Core\Queue | core/ |
Tests queue exceptions. | ||||
| QueueFactory | class | Drupal\Core\Queue | core/ |
Defines the queue factory. | 2 | 2 | ||
| QueueGarbageCollectionInterface | interface | Drupal\Core\Queue | core/ |
Queue garbage collection interface. | 1 | 1 | ||
| QueueInterface | interface | Drupal\Core\Queue | core/ |
Interface for a queue. | 3 | 2 | ||
| QueueSerializationTest | class | Drupal\KernelTests\Core\Queue | core/ |
Tests serializing a form with an injected DatabaseQueue instance. | ||||
| QueueTest | class | Drupal\KernelTests\Core\Queue | core/ |
Queues and dequeues a set of items to check the basic queue functionality. | ||||
| QueueWorker | class | Drupal\Core\Annotation | core/ |
Declare a worker class for processing a queue item. | ||||
| QueueWorkerBase | abstract class | Drupal\Core\Queue | core/ |
Provides a base implementation for a QueueWorker plugin. | 9 | 9 | ||
| QueueWorkerInterface | interface | Drupal\Core\Queue | core/ |
Defines an interface for a QueueWorker plugin. | 1 | |||
| QueueWorkerManager | class | Drupal\Core\Queue | core/ |
Defines the queue worker manager. | 2 | |||
| QueueWorkerManagerInterface | interface | Drupal\Core\Queue | core/ |
Provides an interface for a queue worker manager. | 1 | 2 | ||
| QuickEditAutocompleteTermTest | class | Drupal\Tests\quickedit\FunctionalJavascript | core/ |
Tests in-place editing of autocomplete tags. | ||||
| QuickEditController | class | Drupal\quickedit | core/ |
Returns responses for Quick Edit module routes. | 1 | |||
| QuickEditCustomPipelineTest | class | Drupal\Tests\quickedit\Functional | core/ |
Tests using a custom pipeline with Quick Edit. | ||||
| QuickEditEndPointAccessTest | class | Drupal\Tests\quickedit\Functional | core/ |
Tests accessing the Quick Edit endpoints. | ||||
| QuickEditEntityFieldAccessCheck | class | Drupal\quickedit\Access | core/ |
Access check for in-place editing entity fields. | 1 | 2 | ||
| QuickEditEntityFieldAccessCheckInterface | interface | Drupal\quickedit\Access | core/ |
Access check for in-place editing entity fields. | 2 | 2 | ||
| QuickEditEntityFieldAccessCheckTest | class | Drupal\Tests\quickedit\Unit\Access | core/ |
@coversDefaultClass \Drupal\quickedit\Access\QuickEditEntityFieldAccessCheck[[api-linebreak]] @group Access @group quickedit @group legacy | ||||
| QuickEditFieldForm | class | Drupal\quickedit\Form | core/ |
Builds and process a form for editing a single entity field. | ||||
| QuickEditFileTest | class | Drupal\Tests\quickedit\FunctionalJavascript | core/ |
@group quickedit @group legacy | ||||
| QuickEditImageController | class | Drupal\quickedit\Controller | core/ |
Returns responses for our image routes. | ||||
| QuickEditImageController | class | Drupal\image\Controller | core/ |
Returns responses for our image routes. | 1 | |||
| QuickEditImageControllerTest | class | Drupal\Tests\quickedit\Functional | core/ |
Tests the endpoints used by the "image" in-place editor. | ||||
| QuickEditImageControllerTest | class | Drupal\Tests\image\Kernel | core/ |
Tests class \Drupal\image\Controller\QuickEditImageController deprecation. | ||||
| QuickEditImageEditorTestTrait | trait | Drupal\Tests\quickedit\FunctionalJavascript | core/ |
|||||
| QuickEditImageTest | class | Drupal\Tests\quickedit\FunctionalJavascript | core/ |
@coversDefaultClass \Drupal\quickedit\Plugin\InPlaceEditor\Image[[api-linebreak]] @group quickedit @group legacy | ||||
| QuickEditIntegration | class | Drupal\layout_builder | core/ |
Helper methods for Quick Edit module integration. | ||||
| QuickEditJavascriptTestBase | class | Drupal\Tests\quickedit\FunctionalJavascript | core/ |
Base class for testing the QuickEdit. | 5 | |||
| QuickEditLayoutBuilderEntityViewDisplay | class | Drupal\quickedit\Entity | core/ |
Provides an entity view display entity that has a layout with quickedit. | 1 | |||
| QuickEditLayoutBuilderEntityViewDisplayHalJsonAnonTest | class | Drupal\Tests\hal\Functional\quickedit | core/ |
@group hal @group legacy | ||||
| QuickEditLayoutBuilderEntityViewDisplayHalJsonBasicAuthTest | class | Drupal\Tests\hal\Functional\quickedit | core/ |
@group hal @group legacy | ||||
| QuickEditLayoutBuilderEntityViewDisplayHalJsonCookieTest | class | Drupal\Tests\hal\Functional\quickedit | core/ |
@group hal @group legacy | ||||
| QuickEditLayoutBuilderEntityViewDisplayJsonAnonTest | class | Drupal\Tests\quickedit\Functional\Rest | core/ |
@group quickedit @group layout_builder @group rest @group legacy | ||||
| QuickEditLayoutBuilderEntityViewDisplayJsonBasicAuthTest | class | Drupal\Tests\quickedit\Functional\Rest | core/ |
@group quickedit @group layout_builder @group rest @group legacy | ||||
| QuickEditLayoutBuilderEntityViewDisplayJsonCookieTest | class | Drupal\Tests\quickedit\Functional\Rest | core/ |
@group quickedit @group layout_builder @group rest @group legacy | ||||
| QuickEditLayoutBuilderEntityViewDisplayTest | class | Drupal\Tests\quickedit\Functional\Jsonapi | core/ |
JSON:API integration test for the "EntityViewDisplay" config entity type. | ||||
| QuickEditLayoutBuilderEntityViewDisplayXmlAnonTest | class | Drupal\Tests\quickedit\Functional\Rest | core/ |
@group quickedit @group layout_builder @group rest @group legacy | ||||
| QuickEditLayoutBuilderEntityViewDisplayXmlBasicAuthTest | class | Drupal\Tests\quickedit\Functional\Rest | core/ |
@group quickedit @group layout_builder @group rest @group legacy | ||||
| QuickEditLayoutBuilderEntityViewDisplayXmlCookieTest | class | Drupal\Tests\quickedit\Functional\Rest | core/ |
@group quickedit @group layout_builder @group rest @group legacy | ||||
| QuickEditLoadingTest | class | Drupal\Tests\quickedit\FunctionalJavascript | core/ |
Tests loading of in-place editing and lazy loading of in-place editors. | ||||
| QuickEditLoadingTest | class | Drupal\Tests\quickedit\Kernel | core/ |
Tests loading of in-place editing and lazy loading of in-place editors. | ||||
| QuickEditMinimalTest | class | Drupal\Tests\quickedit\Functional | core/ |
Tests Quick Edit can be installed with Minimal. | ||||
| QuickEditTestBase | abstract class | Drupal\Tests\quickedit\Kernel | core/ |
Base class for testing Quick Edit functionality. | 3 | |||
| QuickStartCommand | class | Drupal\Core\Command | core/ |
Installs a Drupal site and starts a webserver for local testing/development. | ||||
| QuickStartTest | class | Drupal\Tests\Core\Command | core/ |
Tests the quick-start commands. | ||||
| QuickStartTestBase | abstract class | Drupal\BuildTests\QuickStart | core/ |
Helper methods for using the quickstart feature of Drupal. | 2 | 2 | ||
| Radio | class | Drupal\Core\Render\Element | core/ |
Provides a form element for a single radio button. | ||||
| Radios | class | Drupal\Core\Render\Element | core/ |
Provides a form element for a set of radio buttons. | 1 | |||
| Random | class | Drupal\Component\Utility | core/ |
Defines a utility class for creating random data. | 25 | |||
| Random | class | Drupal\views\Plugin\views\sort | core/ |
Handle a random sort. |
Pagination
- Previous page
- Page 135
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.