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 |
---|---|---|---|---|---|---|---|---|
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. | ||||
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/ |
6 | ||||
ConfigTestStorage | class | Drupal\config_test | core/ |
|||||
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. | ||||
ConfigTranslationDateFormatUiTest | class | Drupal\Tests\config_translation\Functional | core/ |
Tests the content translation behaviors on date formats. | ||||
ConfigTranslationDeleteForm | class | Drupal\config_translation\Form | core/ |
Builds a form to delete configuration translation. | ||||
ConfigTranslationEditForm | class | Drupal\config_translation\Form | core/ |
Defines a form for editing configuration translations. | 1 | |||
ConfigTranslationEntityListBuilder | class | Drupal\config_translation\Controller | core/ |
Defines the configuration translation list builder for entities. | 2 | |||
ConfigTranslationEntityListBuilderInterface | interface | Drupal\config_translation\Controller | core/ |
Defines an interface for configuration translation entity list builders. | 1 | |||
ConfigTranslationEvents | final class | Drupal\config_translation\Event | core/ |
Provides a list of events dispatched by the Configuration Translation module. | 3 | |||
ConfigTranslationFieldListBuilder | class | Drupal\config_translation\Controller | core/ |
Defines the config translation list builder for field entities. | ||||
ConfigTranslationFormAccess | class | Drupal\config_translation\Access | core/ |
Checks access for displaying the translation add, edit, and delete forms. | 2 | |||
ConfigTranslationFormBase | abstract class | Drupal\config_translation\Form | core/ |
Provides a base form for configuration translations. | 2 | 1 | ||
ConfigTranslationFormTest | class | Drupal\Tests\config_translation\Kernel | core/ |
Tests for altering configuration translation forms. | ||||
ConfigTranslationInstallTest | class | Drupal\Tests\config_translation\Functional | core/ |
Installs the config translation module on a site installed in non english. | ||||
ConfigTranslationListController | class | Drupal\config_translation\Controller | core/ |
Defines the configuration translation list controller. | ||||
ConfigTranslationListUiTest | class | Drupal\Tests\config_translation\Functional | core/ |
Visit all lists. | ||||
ConfigTranslationLocalTask | class | Drupal\config_translation\Plugin\Menu\LocalTask | core/ |
Defines a local task plugin with a dynamic title. | ||||
ConfigTranslationLocalTasks | class | Drupal\config_translation\Plugin\Derivative | core/ |
Provides dynamic local tasks for config translation. | 1 | |||
ConfigTranslationMapperList | class | Drupal\config_translation\Controller | core/ |
Defines the configuration translation mapper list. | ||||
ConfigTranslationOverviewAccess | class | Drupal\config_translation\Access | core/ |
Checks access for displaying the configuration translation overview. | 1 | 2 | ||
ConfigTranslationOverviewTest | class | Drupal\Tests\config_translation\Functional | core/ |
Translate settings and entities to various languages. | ||||
ConfigTranslationTestSubscriber | class | Drupal\config_translation_test\EventSubscriber | core/ |
Adds configuration names to configuration mapper on POPULATE_MAPPER event. | 2 | |||
ConfigTranslationUiModulesTest | class | Drupal\Tests\config_translation\Functional | core/ |
Translate settings and entities to various languages. | ||||
ConfigTranslationUiSiteInformationTest | class | Drupal\Tests\config_translation\Functional | core/ |
Translate site information to various languages. | ||||
ConfigTranslationUiTest | class | Drupal\Tests\config_translation\FunctionalJavascript | core/ |
Translate settings and entities to various languages. | ||||
ConfigTranslationUiTest | class | Drupal\Tests\config_translation\Functional | core/ |
Translate settings and entities to various languages. | ||||
ConfigTranslationUiTestBase | abstract class | Drupal\Tests\config_translation\Functional | core/ |
Translate settings and entities to various languages. | 3 | |||
ConfigTranslationUiThemeTest | class | Drupal\Tests\config_translation\Functional | core/ |
Verifies theme configuration translation settings. | ||||
ConfigTranslationViewListUiTest | class | Drupal\Tests\config_translation\Functional | core/ |
Visit view list and test if translate is available. | ||||
ConfigUninstallViaCliImportTest | class | Drupal\Tests\config\Kernel | core/ |
Tests importing configuration from files into active configuration. | ||||
ConfigurableActionBase | abstract class | Drupal\Core\Action | core/ |
Provides a base implementation for a configurable Action plugin. | 8 | 8 | ||
ConfigurableImageEffectBase | abstract class | Drupal\image | core/ |
Provides a base class for configurable image effects. | 4 | 4 |
Pagination
- Previous page
- Page 32
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.