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 |
|---|---|---|---|---|---|---|---|---|
| MigrateTermNodeTranslationTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d6 | core/ |
Upgrade taxonomy term node associations. | ||||
| MigrateTestBase | abstract class | Drupal\Tests\migrate\Kernel | core/ |
Creates abstract base class for migration tests. | 20 | 6 | ||
| MigrateTestCase | abstract class | Drupal\Tests\migrate\Unit | core/ |
Provides setup and helper methods for Migrate module tests. | 16 | 11 | ||
| MigrateTextConfigsTest | class | Drupal\Tests\text\Kernel\Migrate | core/ |
Upgrade variables to text.settings.yml. | ||||
| MigrateThemeSettingsTest | class | Drupal\Tests\system\Kernel\Migrate\d7 | core/ |
Tests migration of Theme settings variables to configuration. | ||||
| MigrateUpdateConfigsTest | class | Drupal\Tests\update\Kernel\Migrate\d6 | core/ |
Upgrade variables to update.settings.yml. | ||||
| MigrateUpgradeExecuteTestBase | abstract class | Drupal\Tests\migrate_drupal_ui\Functional | core/ |
Provides a base class for testing a complete upgrade via the UI. | 8 | 8 | ||
| MigrateUpgradeFormBase | abstract class | Drupal\migrate_drupal_ui\Form | core/ |
Form base for the Migrate Upgrade UI. | 5 | |||
| MigrateUpgradeFormStepsTest | class | Drupal\Tests\migrate_drupal_ui\Functional | core/ |
Tests the flow of the Migrate Drupal UI form. | ||||
| MigrateUpgradeImportBatch | class | Drupal\migrate_drupal_ui\Batch | core/ |
Runs a single migration batch. | 1 | |||
| MigrateUpgradeTestBase | abstract class | Drupal\Tests\migrate_drupal_ui\Functional | core/ |
Provides a base class for testing migration upgrades in the UI. | 6 | 1 | ||
| MigrateUploadEntityDisplayTest | class | Drupal\Tests\file\Kernel\Migrate\d6 | core/ |
Upload entity display. | ||||
| MigrateUploadEntityFormDisplayTest | class | Drupal\Tests\file\Kernel\Migrate\d6 | core/ |
Upload form entity display. | ||||
| MigrateUploadFieldTest | class | Drupal\Tests\file\Kernel\Migrate\d6 | core/ |
Uploads migration. | ||||
| MigrateUploadInstanceTest | class | Drupal\Tests\file\Kernel\Migrate\d6 | core/ |
Upload field instance migration. | ||||
| MigrateUploadTest | class | Drupal\Tests\file\Kernel\Migrate\d6 | core/ |
Migrate association data between nodes and files. | ||||
| MigrateUrlAliasNoTranslationTest | class | Drupal\Tests\path\Kernel\Migrate\d7 | core/ |
Tests URL alias migration. | ||||
| MigrateUrlAliasTest | class | Drupal\Tests\path\Kernel\Migrate\d6 | core/ |
URL alias migration. | ||||
| MigrateUrlAliasTest | class | Drupal\Tests\path\Kernel\Migrate\d7 | core/ |
Tests URL alias migration. | ||||
| MigrateUrlAliasTestBase | abstract class | Drupal\Tests\path\Kernel\Migrate\d7 | core/ |
Tests URL alias migration. | 2 | |||
| MigrateUserAdminPassTest | class | Drupal\Tests\user\Kernel\Migrate | core/ |
Tests preservation of root account password. | ||||
| MigrateUserConfigsTest | class | Drupal\Tests\user\Kernel\Migrate\d6 | core/ |
Upgrade variables to user.*.yml. | ||||
| MigrateUserConfigsTranslationTest | class | Drupal\Tests\config_translation\Kernel\Migrate\d6 | core/ |
Upgrade i18n variables to user.*.yml. | ||||
| MigrateUserConfigsTranslationTest | class | Drupal\Tests\config_translation\Kernel\Migrate\d7 | core/ |
Test migration of i18n user variables. | ||||
| MigrateUserContactSettingsTest | class | Drupal\Tests\user\Kernel\Migrate\d6 | core/ |
Users contact settings migration. | ||||
| MigrateUserFloodTest | class | Drupal\Tests\user\Kernel\Migrate\d7 | core/ |
Migrates user flood control configuration. | ||||
| MigrateUserMailTest | class | Drupal\Tests\user\Kernel\Migrate\d7 | core/ |
Migrates user mail configuration. | ||||
| MigrateUserPictureD6FileTest | class | Drupal\Tests\user\Kernel\Migrate\d6 | core/ |
User pictures migration. | ||||
| MigrateUserPictureEntityDisplayTest | class | Drupal\Tests\user\Kernel\Migrate\d7 | core/ |
User picture entity display. | ||||
| MigrateUserPictureEntityFormDisplayTest | class | Drupal\Tests\user\Kernel\Migrate\d7 | core/ |
Tests migration of the user_picture field's entity form display settings. | ||||
| MigrateUserPictureFieldInstanceTest | class | Drupal\Tests\user\Kernel\Migrate\d7 | core/ |
User picture field instance migration. | ||||
| MigrateUserPictureFieldTest | class | Drupal\Tests\user\Kernel\Migrate\d7 | core/ |
User picture field migration. | ||||
| MigrateUserProfileEntityDisplayTest | class | Drupal\Tests\user\Kernel\Migrate\d6 | core/ |
Tests the user profile entity display migration. | ||||
| MigrateUserProfileEntityFormDisplayTest | class | Drupal\Tests\user\Kernel\Migrate\d6 | core/ |
Tests the user profile entity form display migration. | ||||
| MigrateUserProfileFieldInstanceTest | class | Drupal\Tests\user\Kernel\Migrate\d6 | core/ |
Tests the user profile field instance migration. | ||||
| MigrateUserProfileFieldInstanceTranslationTest | class | Drupal\Tests\config_translation\Kernel\Migrate\d6 | core/ |
Tests the user profile field instance migration. | ||||
| MigrateUserProfileFieldTest | class | Drupal\Tests\user\Kernel\Migrate\d6 | core/ |
Tests the user profile field migration. | ||||
| MigrateUserProfileTranslationRollbackTest | class | Drupal\Tests\config_translation\Kernel\Migrate\d6 | core/ |
Tests rollback of user profile translations. | ||||
| MigrateUserProfileValuesTest | class | Drupal\Tests\user\Kernel\Migrate\d6 | core/ |
User profile values migration. | ||||
| MigrateUserRoleTest | class | Drupal\Tests\user\Kernel\Migrate\d6 | core/ |
Upgrade user roles to user.role.*.yml. | ||||
| MigrateUserRoleTest | class | Drupal\Tests\user\Kernel\Migrate\d7 | core/ |
Upgrade user roles to user.role.*.yml. | ||||
| MigrateUserSettingsTest | class | Drupal\Tests\user\Kernel\Migrate\d7 | core/ |
Tests migration of user settings. | ||||
| MigrateUserStubTest | class | Drupal\Tests\user\Kernel\Migrate | core/ |
Test stub creation for user entities. | ||||
| MigrateUserTest | class | Drupal\Tests\user\Kernel\Migrate\d6 | core/ |
Users migration. | ||||
| MigrateUserTest | class | Drupal\Tests\user\Kernel\Migrate\d7 | core/ |
Users migration. | ||||
| MigrateValidatableEntityInterface | interface | Drupal\migrate\Plugin | core/ |
To implement by a destination plugin that should provide entity validation. | 1 | 1 | ||
| MigrateViewModesTest | class | Drupal\Tests\field\Kernel\Migrate\d7 | core/ |
Tests migration of D7 view modes. | 1 | |||
| MigrateViewModesTest | class | Drupal\Tests\node\Kernel\Migrate\d6 | core/ |
Migrate view modes. | ||||
| MigrateVocabularyEntityDisplayTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d6 | core/ |
Vocabulary entity display migration. | ||||
| MigrateVocabularyEntityFormDisplayTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d6 | core/ |
Vocabulary entity form display migration. |
Pagination
- Previous page
- Page 133
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.