Primary tabs
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
Name | Type | Namespace | Location | Description | Direct uses | Use statements | Strings |
---|---|---|---|---|---|---|---|
Drupal | class |
core/ |
Static Service Container wrapper. | ||||
Entity | class |
core/ |
This class is a near-copy of tests/Doctrine/Tests/Common/Annotations/Ticket/DCOM58Entity.php, which is part of the Doctrine project: <http://www.doctrine-project.org>. It was copied from version 1.2.7. | ||||
DiscoveryTest1 | class |
com\ |
core/ |
Provides a custom test plugin. | |||
AcceptHeaderRoutingTestServiceProvider | class |
Drupal\ |
core/ |
Service provider for the accept_header_routing_test module. | |||
AcceptHeaderMatcher | class |
Drupal\ |
core/ |
Filters routes based on the media type specified in the HTTP Accept headers. | 1 | 2 | |
ActionAddForm | class |
Drupal\ |
core/ |
Provides a form for action add forms. | 1 | ||
ActionAdminManageForm | class |
Drupal\ |
core/ |
Provides a configuration form for configurable actions. | |||
ActionDeleteForm | class |
Drupal\ |
core/ |
Builds a form to delete an action. | |||
ActionEditForm | class |
Drupal\ |
core/ |
Provides a form for action edit forms. | 1 | ||
ActionFormBase | abstract class |
Drupal\ |
core/ |
Provides a base form for action forms. | 2 | ||
TestActionConfirmForm | class |
Drupal\ |
core/ |
Confirmation form for 'test_action' action. | 1 | ||
TestSystemLoggerChannel | final class |
Drupal\ |
core/ |
Provides a decorator for the 'logger.channel.system' service for testing. | 2 | ||
AdvisoryTestClientMiddleware | class |
Drupal\ |
core/ |
Overrides the User-Agent HTTP header for outbound HTTP requests. | 1 | 2 | |
AdvisoryTestController | class |
Drupal\ |
core/ |
Defines a controller to return JSON for security advisory tests. | |||
Callbacks | class |
Drupal\ |
core/ |
Simple object for testing methods as Ajax callbacks. | 3 | ||
DialogFormLink | class |
Drupal\ |
core/ |
Test class to create dialog form link. | |||
AjaxFormsTestAjaxElementsForm | class |
Drupal\ |
core/ |
Builds a form where each Form API element triggers a simple Ajax callback. | 1 | ||
AjaxFormsTestCommandsForm | class |
Drupal\ |
core/ |
Form constructor for the Ajax Command display form. | 1 | ||
AjaxFormsTestImageButtonForm | class |
Drupal\ |
core/ |
Form builder: Builds a form that has image button with an ajax callback. | 1 | ||
AjaxFormsTestLazyLoadForm | class |
Drupal\ |
core/ |
Form builder: Builds a form that triggers a simple AJAX callback. | 1 | ||
AjaxFormsTestSimpleForm | class |
Drupal\ |
core/ |
Form builder: Builds a form that triggers a simple AJAX callback. | 1 | ||
AjaxFormsTestValidationForm | class |
Drupal\ |
core/ |
Form builder: Builds a form that triggers a simple AJAX callback. | 1 | ||
AjaxTestCommandReturnPromise | class |
Drupal\ |
core/ |
Test Ajax command. | 1 | ||
AjaxTestController | class |
Drupal\ |
core/ |
Provides content for dialog tests. | 2 | ||
AjaxTestDialogForm | class |
Drupal\ |
core/ |
Dummy form for testing DialogRenderer with _form routes. | |||
AjaxTestFocusFirstForm | class |
Drupal\ |
core/ |
Form for testing AJAX FocusFirstCommand. | 1 | ||
AjaxTestForm | class |
Drupal\ |
core/ |
Dummy form for testing DialogRenderer with _form routes. | 1 | ||
AjaxTestFormPromise | class |
Drupal\ |
core/ |
Test form for ajax_test_form_promise. | 1 | ||
AjaxTestMessageCommandForm | class |
Drupal\ |
core/ |
Form for testing AJAX MessageCommand. | 1 | ||
RenderCallbacks | final class |
Drupal\ |
core/ |
Defines a class for render callbacks. | 1 | ||
AnnounceTestHttpClientMiddleware | class |
Drupal\ |
core/ |
Overrides the requested endpoint when running tests. | 1 | 2 | |
AutomatedCron | class |
Drupal\ |
core/ |
A subscriber running cron after a response is sent. | 2 | ||
TestInjection | class |
Drupal\ |
core/ |
A service that is autowired. | 1 | ||
TestInjection2 | class |
Drupal\ |
core/ |
A service that is autowired. | |||
TestInjectionInterface | interface |
Drupal\ |
core/ |
An interface for a service that is autowired. | 2 | ||
TestInjection3 | class |
Drupal\ |
core/ |
A service that is autowired. | |||
BanIpManager | class |
Drupal\ |
core/ |
Ban IP manager. | 1 | 2 | |
BanIpManagerInterface | interface |
Drupal\ |
core/ |
Provides an interface defining a BanIp manager. | 1 | 3 | |
BanMiddleware | class |
Drupal\ |
core/ |
Provides a HTTP middleware to implement IP based banning. | 2 | ||
BanAdmin | class |
Drupal\ |
core/ |
Displays banned IP addresses. | 1 | ||
BanDelete | class |
Drupal\ |
core/ |
Provides a form to unban IP addresses. | 1 | ||
BlockedIp | class |
Drupal\ |
core/ |
1 | |||
BlockedIps | class |
Drupal\ |
core/ |
Drupal 7 blocked IPs source from database. | |||
DisallowBasicAuthRequests | class |
Drupal\ |
core/ |
Cache policy for pages served from basic auth. | 2 | ||
BasicAuthTestController | class |
Drupal\ |
core/ |
||||
BatchTestController | class |
Drupal\ |
core/ |
Controller routines for batch tests. | |||
BatchTestChainedForm | class |
Drupal\ |
core/ |
Generate form of id batch_test_chained_form. | 1 | ||
BatchTestMockForm | class |
Drupal\ |
core/ |
Generate form of id batch_test_mock_form. | |||
BatchTestMultiStepForm | class |
Drupal\ |
core/ |
Generate form of id batch_test_multistep_form. | 1 | ||
BatchTestSimpleForm | class |
Drupal\ |
core/ |
Generate form of id batch_test_simple_form. | 1 |