Classes, traits, and interfaces - main - 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 1529
| Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
|---|---|---|---|---|---|---|---|---|
| ConfigMapperManagerTest | class | Drupal\Tests\config_translation\Unit | core/ |
Tests the functionality provided by configuration translation mapper manager. | ||||
| ConfigMapperPopulateEvent | class | Drupal\config_translation\Event | core/ |
Provides a class for events related to configuration translation mappers. | 3 | |||
| ConfigMapperTest | class | Drupal\Tests\config_translation\Kernel | core/ |
Tests config mapper. | ||||
| ConfigModuleOverridesEvent | class | Drupal\Core\Config | core/ |
Event object to allow configuration to be overridden by modules. | ||||
| ConfigModuleOverridesTest | class | Drupal\KernelTests\Core\Config | core/ |
Tests module overrides of configuration using event subscribers. | ||||
| ConfigNameException | class | Drupal\Core\Config | core/ |
Exception thrown when a config object name is invalid. | 3 | |||
| ConfigNamesMapper | class | Drupal\config_translation | core/ |
Configuration mapper base implementation. | 2 | 1 | ||
| ConfigNamesMapperTest | class | Drupal\Tests\config_translation\Unit | core/ |
Tests the functionality provided by the configuration names mapper. | ||||
| ConfigOtherModuleTest | class | Drupal\Tests\config\Kernel | core/ |
Tests default configuration provided by a module that does not own it. | ||||
| ConfigOverride | class | Drupal\Core\Installer | core/ |
Override configuration during the installer. | ||||
| ConfigOverrideIntegrationTestCacheContext | class | Drupal\config_override_integration_test\Cache | core/ |
A cache context service intended for the config override integration test. | 2 | |||
| ConfigOverrideMessageTestHooks | class | Drupal\config_override_message_test\Hook | core/ |
Hook implementations for config_override_message_test. | ||||
| ConfigOverrider | class | Drupal\config_override_test | core/ |
Tests module overrides for configuration. | 2 | |||
| ConfigOverrider | class | Drupal\config_entity_static_cache_test | core/ |
Tests module overrides for configuration. | 1 | |||
| ConfigOverrider | class | Drupal\settings_tray_override_test | core/ |
Provides an overridden block for Settings Tray testing. | 2 | |||
| ConfigOverrider | class | Drupal\user_config_override_test | core/ |
Tests overridden permissions. | 2 | |||
| ConfigOverriderLowPriority | class | Drupal\config_override_test | core/ |
Tests module overrides for configuration. | 2 | |||
| ConfigOverridesPriorityTest | class | Drupal\KernelTests\Core\Config | core/ |
Tests that config overrides are applied in the correct order. | ||||
| 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. | 3 | |||
| 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. | 1 | 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. | ||||
| ConfigSchemaTestHooks | class | Drupal\config_schema_test\Hook | core/ |
Hook implementations for config_schema_test. | ||||
| 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. | ||||
| 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\locale\EventSubscriber | core/ |
Rebuilds the container when locale config is changed. | ||||
| 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 | |||
| ConfigTarget | final class | Drupal\Core\Form | core/ |
Represents the mapping of a config property to a form element. | 9 | |||
| ConfigTargetTest | class | Drupal\Tests\Core\Form | core/ |
Tests Drupal\Core\Form\ConfigTarget. | ||||
| ConfigTargetTest | class | Drupal\Tests\system\Functional\Form | core/ |
Tests forms using #config_target. | ||||
| ConfigTargetTest | class | Drupal\Tests\system\FunctionalJavascript\Form | core/ |
Tests forms using #config_target and #ajax together. | ||||
| ConfigTest | class | Drupal\Tests\system\Functional\File | core/ |
Tests file system configuration operations. | ||||
| ConfigTest | class | Drupal\Tests\migrate\Unit\destination | core/ |
Tests Drupal\migrate\Plugin\migrate\destination\Config. | ||||
| ConfigTest | class | Drupal\config_test\Entity | core/ |
Defines the ConfigTest configuration entity. | 3 | 9 | ||
| ConfigTest | class | Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\source\d8 | core/ |
Tests the config source plugin. | ||||
| ConfigTest | class | Drupal\Tests\Core\Config | core/ |
Tests the Config. | ||||
| ConfigTest | class | Drupal\Tests\Composer\Plugin\ProjectMessage | core/ |
Tests Drupal\Composer\Plugin\ProjectMessage\Message. | ||||
| ConfigTest | class | Drupal\Tests\Composer\Plugin\VendorHardening | core/ |
Tests Drupal\Composer\Plugin\VendorHardening\Config. | ||||
| ConfigTestAccessControlHandler | class | Drupal\config_test | core/ |
Defines the access control handler for the config_test entity type. | 1 |
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.