Classes, traits, and interfaces - 11.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 |
---|---|---|---|---|---|---|---|---|
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. | ||||
ConfigTranslationHooks | class | Drupal\config_translation\Hook | core/ |
Hook implementations for config_translation. | ||||
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. | ||||
ConfigTranslationTestHooks | class | Drupal\config_translation_test\Hook | core/ |
Hook implementations for config_translation_test. | ||||
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 | ||
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. | 16 | 24 | ||
ConfigurableLanguage | class | Drupal\language\Entity | core/ |
Defines the ConfigurableLanguage entity. | 214 | |||
ConfigurableLanguageInterface | interface | Drupal\language | core/ |
Provides an interface defining a language entity. | 1 | 7 | ||
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 | 15 | ||
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/ |
6 | ||||
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. | ||||
ConfigurableLanguageValidationTest | class | Drupal\Tests\language\Kernel | core/ |
Tests validation of configurable_language entities. |
Pagination
- Previous page
- Page 34
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.