Classes, traits, and interfaces - 10.3.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 1518
Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
---|---|---|---|---|---|---|---|---|
ConfigurableImageEffectInterface | interface | Drupal\image | core/ |
Defines the interface for configurable image effects. | 1 | 2 | ||
ConfigurableInterface | interface | Drupal\Component\Plugin | core/ |
Provides an interface for a configurable plugin. | 16 | 24 | ||
ConfigurableLanguage | class | Drupal\language\Entity | core/ |
Defines the ConfigurableLanguage entity. | 213 | |||
ConfigurableLanguageInterface | interface | Drupal\language | core/ |
Provides an interface defining a language entity. | 1 | 7 | ||
ConfigurableLanguageJsonAnonTest | class | Drupal\Tests\language\Functional\Rest | core/ |
@group rest | ||||
ConfigurableLanguageJsonBasicAuthTest | class | Drupal\Tests\language\Functional\Rest | core/ |
@group rest | ||||
ConfigurableLanguageJsonCookieTest | class | Drupal\Tests\language\Functional\Rest | core/ |
@group rest | ||||
ConfigurableLanguageManager | class | Drupal\language | core/ |
Overrides default LanguageManager to provide configured languages. | 3 | |||
ConfigurableLanguageManagerInterface | interface | Drupal\language | core/ |
Common interface for language negotiation services. | 1 | 15 | ||
ConfigurableLanguageManagerTest | class | Drupal\Tests\language\Kernel | core/ |
Tests the ConfigurableLanguage entity. | ||||
ConfigurableLanguageManagerTest | class | Drupal\Tests\language\Functional | core/ |
Tests Language Negotiation. | ||||
ConfigurableLanguageRenderer | class | Drupal\views\Entity\Render | core/ |
Renders entities in a configured language. | ||||
ConfigurableLanguageResourceTestBase | abstract class | Drupal\Tests\language\Functional\Rest | core/ |
6 | ||||
ConfigurableLanguageTest | class | Drupal\Tests\language\Kernel | core/ |
Tests the ConfigurableLanguage entity. | ||||
ConfigurableLanguageTest | class | Drupal\Tests\jsonapi\Functional | core/ |
JSON:API integration test for the "ConfigurableLanguage" config entity type. | ||||
ConfigurableLanguageUnitTest | class | Drupal\Tests\language\Unit | core/ |
Tests the ConfigurableLanguage entity class. | ||||
ConfigurableLanguageValidationTest | class | Drupal\Tests\language\Kernel | core/ |
Tests validation of configurable_language entities. | ||||
ConfigurableLanguageXmlAnonTest | class | Drupal\Tests\language\Functional\Rest | core/ |
@group rest | ||||
ConfigurableLanguageXmlBasicAuthTest | class | Drupal\Tests\language\Functional\Rest | core/ |
@group rest | ||||
ConfigurableLanguageXmlCookieTest | class | Drupal\Tests\language\Functional\Rest | core/ |
@group rest | ||||
ConfigurablePlugin | class | Drupal\Tests\Core\Plugin | core/ |
|||||
ConfigurablePluginTest | class | Drupal\Tests\ckeditor5\Kernel | core/ |
Tests configurable plugins. | ||||
ConfigurableSearchPluginBase | abstract class | Drupal\search\Plugin | core/ |
Provides a base implementation for a configurable Search plugin. | 2 | 3 | ||
ConfigurableSearchPluginInterface | interface | Drupal\search\Plugin | core/ |
Provides an interface for a configurable Search plugin. | 1 | |||
ConfigurationTest | class | Drupal\Tests\action\Functional | core/ |
Tests complex actions configuration. | ||||
ConfigureBlockFormBase | abstract class | Drupal\layout_builder\Form | core/ |
Provides a base form for configuring a block. | 2 | |||
ConfiguredTrait | class | Drupal\Tests\Core\Form | core/ |
|||||
ConfigureSectionForm | class | Drupal\layout_builder\Form | core/ |
Provides a form for configuring a layout section. | 1 | |||
ConfigValidation | class | Drupal\config_test | core/ |
Provides a collection of validation callbacks for testing purposes. | 1 | |||
ConfigValidationTest | class | Drupal\KernelTests\Core\Recipe | core/ |
@group Recipe | ||||
ConfigValueException | class | Drupal\Core\Config | core/ |
Exception thrown when config object values are invalid. | 2 | |||
ConfirmDeleteMultiple | class | Drupal\comment\Form | core/ |
Provides the comment multiple delete confirmation form. | 1 | |||
ConfirmFormArrayPathTestForm | class | Drupal\form_test | core/ |
Provides a test confirmation form with a complex cancellation destination. | 1 | |||
ConfirmFormBase | abstract class | Drupal\Core\Form | core/ |
Provides a generic base class for a confirmation form. | 33 | 33 | ||
ConfirmFormHelper | class | Drupal\Core\Form | core/ |
Provides common functionality to confirmation forms. | 3 | |||
ConfirmFormHelperTest | class | Drupal\Tests\Core\Form | core/ |
@coversDefaultClass \Drupal\Core\Form\ConfirmFormHelper @group Form | ||||
ConfirmFormInterface | interface | Drupal\Core\Form | core/ |
Defines the behavior a confirmation form. | 3 | 2 | ||
ConfirmFormTest | class | Drupal\Tests\system\Functional\Form | core/ |
Tests confirmation forms. | ||||
ConfirmFormTestForm | class | Drupal\form_test | core/ |
Provides a test confirmation form. | 1 | 1 | ||
Connection | in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. |
class | Drupal\database_statement_monitoring_test\sqlite | core/ |
SQlite Connection class that can log executed queries. | |||
Connection | in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. |
class | Drupal\database_statement_monitoring_test\mysql | core/ |
MySQL Connection class that can log executed queries. | |||
Connection | in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. |
class | Drupal\database_statement_monitoring_test\pgsql | core/ |
PostgreSQL Connection class that can log executed queries. | |||
Connection | class | Drupal\driver_test\Driver\Database\DrivertestMysql | core/ |
MySQL test implementation of \Drupal\Core\Database\Connection. | ||||
Connection | class | Drupal\driver_test\Driver\Database\DrivertestMysqlDeprecatedVersion | core/ |
MySQL test implementation of \Drupal\Core\Database\Connection. | ||||
Connection | class | Drupal\driver_test\Driver\Database\DrivertestPgsql | core/ |
PostgreSQL implementation of \Drupal\Core\Database\Connection. | ||||
Connection | class | Drupal\pgsql\Driver\Database\pgsql | core/ |
PostgreSQL implementation of \Drupal\Core\Database\Connection. | 3 | 3 | ||
Connection | class | Drupal\core_fake\Driver\Database\CoreFake | core/ |
CoreFake implementation of \Drupal\Core\Database\Connection. | ||||
Connection | class | Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses | core/ |
CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Connection. | ||||
Connection | class | Drupal\Core\Database\Driver\CoreFake | core/ |
1 | 1 | |||
Connection | class | Drupal\Driver\Database\CoreFake | core/ |
Pagination
- Previous page
- Page 33
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.