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 |
---|---|---|---|---|---|---|---|
BasicSettingsForm | class |
Drupal\ |
core/ |
Form builder for the admin display defaults page. | 1 | ||
BasicSyntaxTest | class |
Drupal\ |
core/ |
Tests SQL syntax interpretation. | |||
BasicTest | class |
Drupal\ |
core/ |
A basic query test for Views. | |||
BasicTest | class |
Drupal\ |
core/ |
Tests creating views with the wizard and viewing them on the listing page. | |||
Batch | class |
Drupal\ |
core/ |
Defines a batch queue handler used by the Batch API. | |||
BatchBidSerialUpdateTest | class |
Drupal\ |
core/ |
Tests system_update_10101() upgrade path. | |||
BatchBuilder | class |
Drupal\ |
core/ |
Builds an array for a batch process. | 15 | ||
BatchBuilderTest | class |
Drupal\ |
core/ |
Tests for the batch builder class. | |||
BatchControllerTest | class |
Drupal\ |
core/ |
Tests for the batch controller class. | |||
BatchKernelTest | class |
Drupal\ |
core/ |
Tests batch functionality. | |||
BatchMemory | class |
Drupal\ |
core/ |
Defines a batch queue handler. | |||
BatchNegotiator | class |
Drupal\ |
core/ |
Sets the active theme for the batch page. | 2 | ||
BatchNegotiatorTest | class |
Drupal\ |
core/ |
Tests the BatchNegotiator. | |||
BatchStorage | class |
Drupal\ |
core/ |
Provides a proxy class for \Drupal\Core\Batch\BatchStorage. | |||
BatchStorageInterface | interface |
Drupal\ |
core/ |
Defines a common interface for batch storage operations. | 1 | 3 | |
BatchTestChainedForm | class |
Drupal\ |
core/ |
Generate form of id batch_test_chained_form. | 1 | ||
BatchTestController | class |
Drupal\ |
core/ |
Controller routines for batch tests. | |||
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 | ||
BazAccessPolicy | class |
Drupal\ |
core/ |
||||
BazCacheContext | class |
Drupal\ |
core/ |
Fake calculated cache context class. | |||
BazClass | class |
Drupal\ |
core/ |
Stub class which acts as a service dependency, to test the container. | |||
BcRoute | class |
Drupal\ |
core/ |
A backwards compatibility route. | |||
BeforeCommand | class |
Drupal\ |
core/ |
An AJAX command for calling the jQuery before() method. | 2 | ||
BigApple | class |
Drupal\ |
core/ |
Plugin annotation @PluginExtended( id = "big_apple", label = "Big Apple", color = "green" ) | |||
BigPipeController | class |
Drupal\ |
core/ |
Returns responses for BigPipe module routes. | |||
BigPipeInterfacePreviewThemeSuggestionsTest | class |
Drupal\ |
core/ |
Tests the big_pipe_theme_suggestions_big_pipe_interface_preview() function. | |||
BigPipeMarkup | final class |
Drupal\ |
core/ |
Defines an object that passes safe strings through BigPipe's render pipeline. | 3 | ||
BigPipePlaceholderTestCase | class |
Drupal\ |
core/ |
||||
BigPipePlaceholderTestCases | class |
Drupal\ |
core/ |
BigPipe placeholder test cases for use in both unit and integration tests. | 2 | ||
BigPipePreviewTest | class |
Drupal\ |
core/ |
Tests placeholder preview functionality. | |||
BigPipeRegressionTest | class |
Drupal\ |
core/ |
BigPipe regression tests. | |||
BigPipeRegressionTestController | class |
Drupal\ |
core/ |
1 | |||
BigPipeResponseAttachmentsProcessor | class |
Drupal\ |
core/ |
Processes attachments of HTML responses with BigPipe enabled. | 1 | 2 | |
BigPipeResponseAttachmentsProcessorTest | class |
Drupal\ |
core/ |
@coversDefaultClass \Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor @group big_pipe | |||
BigPipeStrategy | class |
Drupal\ |
core/ |
Defines the BigPipe placeholder strategy, to send HTML in chunks. | 4 | 2 | |
BigPipeStrategyTest | class |
Drupal\ |
core/ |
@coversDefaultClass \Drupal\big_pipe\Render\Placeholder\BigPipeStrategy @group big_pipe | |||
BigPipeTest | class |
Drupal\ |
core/ |
Tests BigPipe's no-JS detection & response delivery (with and without JS). | |||
BigPipeTestController | class |
Drupal\ |
core/ |
Returns responses for Big Pipe routes. | |||
BigPipeTestForm | class |
Drupal\ |
core/ |
Form to test BigPipe. | |||
BigPipeTestSubscriber | class |
Drupal\ |
core/ |
1 | 2 | ||
BinaryInterface | interface |
Drupal\ |
core/ |
Interface for binary data. | 2 | ||
BlankLayout | class |
Drupal\ |
core/ |
Provides a layout plugin that produces no output. | |||
Block | class |
Drupal\ |
core/ |
Defines a Block configuration entity class. | 39 | ||
Block | class |
Drupal\ |
core/ |
Defines a Block annotation object. | |||
Block | class |
Drupal\ |
core/ |
Drupal 6/7 block source from database. | 2 | 2 | |
BlockAccessControlHandler | class |
Drupal\ |
core/ |
Defines the access control handler for the content block entity type. | |||
BlockAddController | class |
Drupal\ |
core/ |
Controller for building the block instance add form. | |||
BlockAddTest | class |
Drupal\ |
core/ |
Tests the JS functionality in the block add form. |