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 |
---|---|---|---|---|---|---|---|---|
MigrateBlockTest | class | Drupal\Tests\block\Kernel\Migrate\d6 | core/ |
Tests migration of blocks to configuration entities. | ||||
MigrateBlockTest | class | Drupal\Tests\block\Kernel\Migrate\d7 | core/ |
Tests migration of blocks to configuration entities. | ||||
MigrateBookConfigsTest | class | Drupal\Tests\book\Kernel\Migrate\d6 | core/ |
Upgrade variables to book.settings.yml. | ||||
MigrateBookConfigsTest | class | Drupal\Tests\book\Kernel\Migrate\d7 | core/ |
Tests the migration of Book settings. | ||||
MigrateBookTest | class | Drupal\Tests\book\Kernel\Migrate\d6 | core/ |
Upgrade book structure. | ||||
MigrateBookTest | class | Drupal\Tests\book\Kernel\Migrate\d7 | core/ |
Tests migration of book structures from Drupal 7. | ||||
MigrateBuildDependencyInterface | interface | Drupal\migrate | core/ |
1 | 1 | |||
MigrateBundleTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests setting of bundles on content entity migrations. | ||||
MigrateCckField | in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. Plugin Namespace: Plugin\migrate\cckfield |
class | Drupal\migrate_drupal\Annotation | core/ |
Deprecated: Defines a cckfield plugin annotation object. | 1 | ||
MigrateCckFieldInterface | in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. |
interface | Drupal\migrate_drupal\Plugin | core/ |
Provides an interface for all CCK field type plugins. | 1 | 2 | |
MigrateCckFieldPluginManager | in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManager instead. |
class | Drupal\migrate_drupal\Plugin | core/ |
Deprecated: Plugin manager for migrate field plugins. | 2 | ||
MigrateCckFieldPluginManagerInterface | in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface instead. |
interface | Drupal\migrate_drupal\Plugin | core/ |
Provides an interface for cck field plugin manager. | 1 | 3 | |
MigrateCckFieldPluginManagerTest | class | Drupal\Tests\migrate_drupal\Kernel | core/ |
Tests the cck field plugin manager. | ||||
MigrateColorTest | class | Drupal\Tests\color\Kernel\Migrate\d7 | core/ |
Tests migration of Color variables to configuration. | ||||
MigrateCommentEntityDisplayTest | class | Drupal\Tests\comment\Kernel\Migrate\d6 | core/ |
Tests the migration of comment entity displays from Drupal 6. | ||||
MigrateCommentEntityDisplayTest | class | Drupal\Tests\comment\Kernel\Migrate\d7 | core/ |
Tests the migration of comment entity displays from Drupal 7. | ||||
MigrateCommentEntityFormDisplaySubjectTest | class | Drupal\Tests\comment\Kernel\Migrate\d6 | core/ |
Tests the migration of comment form's subject display from Drupal 6. | ||||
MigrateCommentEntityFormDisplaySubjectTest | class | Drupal\Tests\comment\Kernel\Migrate\d7 | core/ |
Tests the migration of comment form's subject display from Drupal 7. | ||||
MigrateCommentEntityFormDisplayTest | class | Drupal\Tests\comment\Kernel\Migrate\d6 | core/ |
Tests the migration of comment form display from Drupal 6. | ||||
MigrateCommentEntityFormDisplayTest | class | Drupal\Tests\comment\Kernel\Migrate\d7 | core/ |
Tests the migration of comment form display from Drupal 7. | ||||
MigrateCommentFieldInstanceTest | class | Drupal\Tests\comment\Kernel\Migrate\d6 | core/ |
Tests the migration of comment field instances from Drupal 6. | ||||
MigrateCommentFieldInstanceTest | class | Drupal\Tests\comment\Kernel\Migrate\d7 | core/ |
Tests the migration of comment field instances from Drupal 7. | ||||
MigrateCommentFieldTest | class | Drupal\Tests\comment\Kernel\Migrate\d6 | core/ |
Tests the migration of comment fields from Drupal 6. | ||||
MigrateCommentFieldTest | class | Drupal\Tests\comment\Kernel\Migrate\d7 | core/ |
Tests the migration of comment fields from Drupal 7. | ||||
MigrateCommentStubTest | class | Drupal\Tests\comment\Kernel\Migrate | core/ |
Test stub creation for comment entities. | ||||
MigrateCommentTest | class | Drupal\Tests\comment\Kernel\Migrate\d6 | core/ |
Tests the migration of comments from Drupal 6. | ||||
MigrateCommentTest | class | Drupal\Tests\comment\Kernel\Migrate\d7 | core/ |
Tests the migration of comments from Drupal 7. | ||||
MigrateCommentTypeTest | class | Drupal\Tests\comment\Kernel\Migrate\d6 | core/ |
Tests the migration of comment types from Drupal 6. | ||||
MigrateCommentTypeTest | class | Drupal\Tests\comment\Kernel\Migrate\d7 | core/ |
Tests the migration of comment types from Drupal 7. | ||||
MigrateConfigRollbackTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests rolling back of configuration objects. | ||||
MigrateContactCategoryTest | class | Drupal\Tests\contact\Kernel\Migrate | core/ |
Migrate contact categories to contact.form.*.yml. | ||||
MigrateContactSettingsTest | class | Drupal\Tests\contact\Kernel\Migrate\d6 | core/ |
Upgrade variables to contact.settings.yml. | ||||
MigrateContactSettingsTest | class | Drupal\Tests\contact\Kernel\Migrate\d7 | core/ |
Tests migration of Contact settings to configuration. | ||||
MigrateController | class | Drupal\migrate_drupal_ui\Controller | core/ |
Provides controller methods for the migration. | ||||
MigrateControllerTest | class | Drupal\Tests\migrate_drupal_ui\Functional | core/ |
Tests for the MigrateController class. | ||||
MigrateCustomBlockContentTranslationTest | class | Drupal\Tests\block_content\Kernel\Migrate\d6 | core/ |
Tests migration of i18n custom block strings. | ||||
MigrateCustomBlockContentTranslationTest | class | Drupal\Tests\block_content\Kernel\Migrate\d7 | core/ |
Tests migration of i18n custom block strings. | ||||
MigrateCustomBlockTest | class | Drupal\Tests\block_content\Kernel\Migrate\d7 | core/ |
Tests migration of custom blocks. | ||||
MigrateDateFormatTest | class | Drupal\Tests\system\Kernel\Migrate\d6 | core/ |
Upgrade date formats to core.date_format.*.yml. | ||||
MigrateDblogConfigsTest | class | Drupal\Tests\dblog\Kernel\Migrate\d6 | core/ |
Upgrade variables to dblog.settings.yml. | ||||
MigrateDblogConfigsTest | class | Drupal\Tests\dblog\Kernel\Migrate\d7 | core/ |
Upgrade variables to dblog.settings.yml. | ||||
MigrateDefaultLanguageTest | class | Drupal\Tests\language\Kernel\Migrate\d6 | core/ |
Tests the default language variable migration. | ||||
MigrateDefaultLanguageTest | class | Drupal\Tests\language\Kernel\Migrate\d7 | core/ |
Tests the default language variable migration. | ||||
MigrateDependenciesTest | class | Drupal\Tests\migrate_drupal\Kernel\dependencies | core/ |
Ensure the consistency among the dependencies for migrate. | ||||
MigrateDestination | class | Drupal\migrate\Annotation | core/ |
Defines a migration destination plugin annotation object. | ||||
MigrateDestinationInterface | interface | Drupal\migrate\Plugin | core/ |
Defines an interface for Migration Destination classes. | 2 | 5 | ||
MigrateDestinationPluginManager | class | Drupal\migrate\Plugin | core/ |
Plugin manager for migrate destination plugins. | 1 | 2 | ||
MigrateDrupal6AuditIdsTest | class | Drupal\Tests\migrate_drupal\Kernel\d6 | core/ |
Tests the migration auditor for ID conflicts. | 1 | |||
MigrateDrupal6TestBase | abstract class | Drupal\Tests\migrate_drupal\Kernel\d6 | core/ |
Base class for Drupal 6 migration tests. | 109 | 104 | ||
MigrateDrupal7AuditIdsTest | class | Drupal\Tests\migrate_drupal\Kernel\d7 | core/ |
Tests the migration auditor for ID conflicts. | 1 |
Pagination
- Previous page
- Page 108
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.