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 |
---|---|---|---|---|---|---|---|---|
ConfigOverrideTest | class | Drupal\KernelTests\Core\Config | core/ |
Tests configuration overrides via $config in settings.php. | ||||
ConfigPrefixLengthException | class | Drupal\Core\Config | core/ |
Exception thrown when the config prefix length is exceeded. | 1 | |||
ConfigQueryTest | class | Drupal\config_test\Entity | core/ |
Defines the ConfigQueryTest configuration entity used by the query test. | 1 | |||
ConfigRenameEvent | class | Drupal\Core\Config | core/ |
Configuration event fired when renaming a configuration object. | 2 | |||
ConfigSchemaAlterException | class | Drupal\Core\Config\Schema | core/ |
Exception for when hook_config_schema_info_alter() adds or removes schema. | 2 | |||
ConfigSchemaChecker | class | Drupal\Core\Config\Development | core/ |
Listens to the config save event and validates schema. | 2 | |||
ConfigSchemaDeprecationTest | class | Drupal\KernelTests\Core\Config | core/ |
Tests config schema deprecation. | ||||
ConfigSchemaDiscovery | class | Drupal\Core\Config\Schema | core/ |
Allows YAML files to define config schema types. | 1 | |||
ConfigSchemaTest | class | Drupal\KernelTests\Core\Config | core/ |
Tests schema for configuration objects. | ||||
ConfigSingleExportForm | class | Drupal\config\Form | core/ |
Provides a form for exporting a single configuration file. | 1 | |||
ConfigSingleImportExportTest | class | Drupal\Tests\config\Functional | core/ |
Tests the user interface for importing/exporting a single configuration. | ||||
ConfigSingleImportForm | class | Drupal\config\Form | core/ |
Provides a form for importing a single configuration file. | 1 | |||
ConfigSnapshotSubscriber | class | Drupal\Core\EventSubscriber | core/ |
Create a snapshot when config is imported. | 2 | |||
ConfigSnapshotTest | class | Drupal\KernelTests\Core\Config | core/ |
Tests config snapshot creation and updating. | ||||
ConfigStorageStagingTest | class | Drupal\KernelTests\Core\Config | core/ |
Tests that the service "config.storage.staging" has been deprecated. | ||||
ConfigStorageTestBase | abstract class | Drupal\KernelTests\Core\Config\Storage | core/ |
Base class for testing storage operations. | 6 | |||
ConfigSubscriber | class | Drupal\config | core/ |
Config subscriber. | 2 | |||
ConfigSubscriber | class | Drupal\language\EventSubscriber | core/ |
Deletes the container if default language has changed. | 1 | 2 | ||
ConfigSync | class | Drupal\config\Form | core/ |
Construct the storage changes in a configuration synchronization form. | 1 | |||
ConfigTest | class | Drupal\config_test\Entity | core/ |
Defines the ConfigTest configuration entity. | 1 | 6 | ||
ConfigTest | class | Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\source\d8 | core/ |
Tests the config source plugin. | ||||
ConfigTest | class | Drupal\Tests\system\Functional\File | core/ |
Tests file system configuration operations. | ||||
ConfigTest | class | Drupal\Tests\migrate\Unit\destination | core/ |
@coversDefaultClass \Drupal\migrate\Plugin\migrate\destination\Config @group migrate | ||||
ConfigTest | class | Drupal\Tests\Composer\Plugin\ProjectMessage | core/ |
@coversDefaultClass Drupal\Composer\Plugin\ProjectMessage\Message @group ProjectMessage | ||||
ConfigTest | class | Drupal\Tests\Composer\Plugin\VendorHardening | core/ |
@coversDefaultClass Drupal\Composer\Plugin\VendorHardening\Config @group VendorHardening | ||||
ConfigTest | class | Drupal\Tests\Core\Config | core/ |
Tests the Config. | ||||
ConfigTestAccessControlHandler | class | Drupal\config_test | core/ |
Defines the access control handler for the config_test entity type. | ||||
ConfigTestController | class | Drupal\config_test | core/ |
Route controller class for the config_test module. | ||||
ConfigTestForm | class | Drupal\config_test | core/ |
Form controller for the test config edit forms. | ||||
ConfigTestHalJsonAnonTest | class | Drupal\Tests\hal\Functional\config | core/ |
@group hal @group legacy | ||||
ConfigTestHalJsonBasicAuthTest | class | Drupal\Tests\hal\Functional\config | core/ |
@group hal @group legacy | ||||
ConfigTestHalJsonCookieTest | class | Drupal\Tests\hal\Functional\config | core/ |
@group hal @group legacy | ||||
ConfigTestInterface | interface | Drupal\config_test | core/ |
Provides an interface defining a config_test entity. | 1 | 1 | ||
ConfigTestJsonAnonTest | class | Drupal\Tests\config_test\Functional\Rest | core/ |
@group rest | ||||
ConfigTestJsonBasicAuthTest | class | Drupal\Tests\config_test\Functional\Rest | core/ |
@group rest | ||||
ConfigTestJsonCookieTest | class | Drupal\Tests\config_test\Functional\Rest | core/ |
@group rest | ||||
ConfigTestListBuilder | class | Drupal\config_test | core/ |
Defines a class to build a listing of ConfigTest entities. | ||||
ConfigTestResourceTestBase | abstract class | Drupal\Tests\config_test\Functional\Rest | core/ |
9 | 3 | |||
ConfigTestStorage | class | Drupal\config_test | core/ |
@todo. | ||||
ConfigTestTest | class | Drupal\Tests\jsonapi\Functional | core/ |
JSON:API integration test for the "ConfigTest" config entity type. | ||||
ConfigTestTrait | trait | Drupal\Tests | core/ |
Provides helper methods to deal with config system objects in tests. | 1 | |||
ConfigTestXmlAnonTest | class | Drupal\Tests\config_test\Functional\Rest | core/ |
@group rest | ||||
ConfigTestXmlBasicAuthTest | class | Drupal\Tests\config_test\Functional\Rest | core/ |
@group rest | ||||
ConfigTestXmlCookieTest | class | Drupal\Tests\config_test\Functional\Rest | core/ |
@group rest | ||||
ConfigTranslationAddForm | class | Drupal\config_translation\Form | core/ |
Defines a form for adding configuration translations. | 1 | |||
ConfigTranslationBlockListBuilder | class | Drupal\config_translation\Controller | core/ |
Defines the config translation list builder for blocks. | ||||
ConfigTranslationCacheTest | class | Drupal\Tests\config_translation\Functional | core/ |
Translate settings and entities to various languages. | ||||
ConfigTranslationContextualLink | class | Drupal\config_translation\Plugin\Menu\ContextualLink | core/ |
Defines a contextual link plugin with a dynamic title. | ||||
ConfigTranslationContextualLinks | class | Drupal\config_translation\Plugin\Derivative | core/ |
Provides dynamic contextual links for configuration translation. | 1 | |||
ConfigTranslationController | class | Drupal\config_translation\Controller | core/ |
Provides page callbacks for the configuration translation interface. |
Pagination
- Previous page
- Page 29
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.