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 |
|---|---|---|---|---|---|---|---|---|
| MigrateSourceWithAnnotations | class | Drupal\migrate_source_annotation_bc_test\Plugin\migrate\source | core/ |
A migration source plugin with annotations and a single provider. | ||||
| MigrateSourceWithAnnotationsMultipleProviders | class | Drupal\migrate_source_annotation_bc_test\Plugin\migrate\source | core/ |
A migration source plugin with annotations and multiple providers. | ||||
| MigrateSqlIdMapEnsureTablesTest | class | Drupal\Tests\migrate\Unit | core/ |
Tests the SQL ID map plugin ensureTables() method. | ||||
| MigrateSqlIdMapTest | class | Drupal\Tests\migrate\Unit | core/ |
Tests the SQL ID map plugin. | ||||
| MigrateSqlSourceCountCacheTest | class | Drupal\Tests\migrate\Kernel\Plugin\source | core/ |
Tests SqlBase source count caching. | ||||
| MigrateSqlSourceTestBase | abstract class | Drupal\Tests\migrate\Kernel | core/ |
Base class for tests of Migrate source plugins that use a database. | 96 | 95 | ||
| MigrateStatusTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests migration status tracking. | ||||
| MigrateStub | class | Drupal\migrate | core/ |
Provides the migrate stubbing service. | 2 | 2 | ||
| MigrateStubInterface | interface | Drupal\migrate | core/ |
Provides an interface for the migrate stub service. | 1 | 1 | ||
| MigrateStubTest | class | Drupal\Tests\migrate\Unit | core/ |
Tests the migrate stub service. | ||||
| MigrateStubTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests the migrate.stub Service. | ||||
| MigrateSyslogConfigsTest | class | Drupal\Tests\syslog\Kernel\Migrate\d6 | core/ |
Upgrade variables to syslog.settings.yml. | ||||
| MigrateSyslogConfigsTest | class | Drupal\Tests\syslog\Kernel\Migrate\d7 | core/ |
Upgrade variables to syslog.settings.yml. | ||||
| MigrateSystemConfigurationTest | class | Drupal\Tests\system\Kernel\Migrate\d7 | core/ |
Migrates various configuration objects owned by the System module. | ||||
| MigrateSystemConfigurationTest | class | Drupal\Tests\system\Kernel\Migrate\d6 | core/ |
Migrates various configuration objects owned by the System module. | ||||
| MigrateSystemMaintenanceTranslationTest | class | Drupal\Tests\config_translation\Kernel\Migrate\d6 | core/ |
Upgrade i18n maintenance variables to system.*.yml. | ||||
| MigrateSystemMaintenanceTranslationTest | class | Drupal\Tests\config_translation\Kernel\Migrate\d7 | core/ |
Tests migrations of i18n maintenance variable. | ||||
| MigrateSystemSiteTranslationTest | class | Drupal\Tests\config_translation\Kernel\Migrate\d6 | core/ |
Upgrade i18n_strings site variables to system.*.yml. | ||||
| MigrateSystemSiteTranslationTest | class | Drupal\Tests\config_translation\Kernel\Migrate\d7 | core/ |
Migrate multilingual site variables. | ||||
| MigrateTaxonomyConfigsTest | class | Drupal\Tests\taxonomy\Kernel\Migrate | core/ |
Upgrade variables to taxonomy.settings.yml. | ||||
| MigrateTaxonomyTermStubTest | class | Drupal\Tests\taxonomy\Kernel\Migrate | core/ |
Test stub creation for taxonomy terms. | ||||
| MigrateTaxonomyTermTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d6 | core/ |
Upgrade taxonomy terms. | ||||
| MigrateTaxonomyTermTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d7 | core/ |
Upgrade taxonomy terms. | ||||
| MigrateTaxonomyTermTranslationTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d7 | core/ |
Test migration of translated taxonomy terms. | ||||
| MigrateTaxonomyTermTranslationTest | class | Drupal\Tests\content_translation\Kernel\Migrate\d6 | core/ |
Test migration of translated taxonomy terms. | ||||
| MigrateTaxonomyVocabularyTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d6 | core/ |
Migrate taxonomy vocabularies to taxonomy.vocabulary.*.yml. | ||||
| MigrateTaxonomyVocabularyTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d7 | core/ |
Migrate taxonomy vocabularies to taxonomy.vocabulary.*.yml. | ||||
| MigrateTaxonomyVocabularyTranslationTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d6 | core/ |
Migrate taxonomy vocabularies to taxonomy.vocabulary.*.yml. | ||||
| MigrateTaxonomyVocabularyTranslationTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d7 | core/ |
Migrate taxonomy vocabularies to taxonomy.vocabulary.*.yml. | ||||
| MigrateTermLocalizedTranslationTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d6 | core/ |
Tests migration of localized translated taxonomy terms. | ||||
| MigrateTermLocalizedTranslationTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d7 | core/ |
Tests migration of localized translated taxonomy terms. | ||||
| MigrateTermNodeCompleteTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d6 | core/ |
Upgrade taxonomy term node associations. | ||||
| MigrateTermNodeRevisionTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d6 | core/ |
Upgrade taxonomy term node associations. | ||||
| MigrateTermNodeTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d6 | core/ |
Upgrade taxonomy term node associations. | ||||
| 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. |
Pagination
- Previous page
- Page 137
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.