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 |
---|---|---|---|---|---|---|---|---|
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. | ||||
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 | ||
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. | 17 | 22 | ||
ConfigurableLanguage | class | Drupal\language\Entity | core/ |
Defines the ConfigurableLanguage entity. | 205 | |||
ConfigurableLanguageHalJsonAnonTest | class | Drupal\Tests\hal\Functional\language | core/ |
@group hal @group legacy | ||||
ConfigurableLanguageHalJsonBasicAuthTest | class | Drupal\Tests\hal\Functional\language | core/ |
@group hal @group legacy | ||||
ConfigurableLanguageHalJsonCookieTest | class | Drupal\Tests\hal\Functional\language | core/ |
@group hal @group legacy | ||||
ConfigurableLanguageInterface | interface | Drupal\language | core/ |
Provides an interface defining a language entity. | 1 | 6 | ||
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 | 14 | ||
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/ |
9 | 3 | |||
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. | ||||
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 | ||||
ConfigurableLinkManagerInterface | interface | Drupal\hal\LinkManager | core/ |
Defines an interface for a link manager with a configurable domain. | 2 | |||
ConfigurablePlugin | class | Drupal\Tests\Core\Plugin | core/ |
Pagination
- Previous page
- Page 30
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.