Classes, traits, and interfaces - 8.9.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 1511
Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
---|---|---|---|---|---|---|---|---|
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\config_test\Functional\Hal | core/ |
@group hal | ||||
ConfigTestHalJsonBasicAuthTest | class | Drupal\Tests\config_test\Functional\Hal | core/ |
@group hal | ||||
ConfigTestHalJsonCookieTest | class | Drupal\Tests\config_test\Functional\Hal | core/ |
@group hal | ||||
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/ |
10 | 4 | |||
ConfigTestResourceTestBase | in drupal:8.6.0 and is removed from drupal:9.0.0. Use Drupal\Tests\config_test\Functional\Rest\ConfigTestResourceTestBase instead. |
abstract class | Drupal\Tests\rest\Functional\EntityResource\ConfigTest | core/ |
||||
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. | 2 | |||
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 | |||
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. |
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.