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 |
|---|---|---|---|---|---|---|---|---|
| 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\Attribute | core/ |
Defines a MigrateDestination attribute. | 30 | |||
| 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 | 7 | ||
| MigrateDestinationPluginManager | class | Drupal\migrate\Plugin | core/ |
Plugin manager for migrate destination plugins. | 2 | 2 | ||
| MigrateDrupal6AuditIdsTest | class | Drupal\Tests\migrate_drupal\Kernel\d6 | core/ |
Tests the migration auditor for ID conflicts. | ||||
| MigrateDrupal6TestBase | abstract class | Drupal\Tests\migrate_drupal\Kernel\d6 | core/ |
Base class for Drupal 6 migration tests. | 99 | 93 | ||
| MigrateDrupal7AuditIdsTest | class | Drupal\Tests\migrate_drupal\Kernel\d7 | core/ |
Tests the migration auditor for ID conflicts. | ||||
| MigrateDrupal7TestBase | abstract class | Drupal\Tests\migrate_drupal\Kernel\d7 | core/ |
Base class for Drupal 7 migration tests. | 97 | 92 | ||
| MigrateDrupalHooks | class | Drupal\migrate_drupal\Hook | core/ |
Hook implementations for migrate_drupal. | 1 | |||
| MigrateDrupalServiceProvider | class | Drupal\migrate_drupal | core/ |
Alters container services. | ||||
| MigrateDrupalTestBase | abstract class | Drupal\Tests\migrate_drupal\Kernel | core/ |
Base class for Drupal migration tests. | 17 | 15 | ||
| MigrateDrupalUiHooks | class | Drupal\migrate_drupal_ui\Hook | core/ |
Hook implementations for migrate_drupal_ui. | ||||
| MigrateDrupalUiRouteSubscriber | class | Drupal\migrate_drupal_ui\Routing | core/ |
Sets the controller for Migrate Message route. | 2 | |||
| MigrateDrupalUninstallTest | class | Drupal\Tests\migrate_drupal\Kernel | core/ |
Test migrate_drupal module uninstall. | ||||
| MigrateDumpAlterInterface | interface | Drupal\Tests\migrate\Kernel | core/ |
Allows tests to alter dumps after they have loaded. | 5 | 5 | ||
| MigrateEmbeddedDataTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests the EmbeddedDataSource plugin. | ||||
| MigrateEntity | class | Drupal\migrate\Plugin\Derivative | core/ |
The migrate entity deriver. | 1 | 1 | ||
| MigrateEntityComplete | in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. |
class | Drupal\migrate\Plugin\Derivative | core/ |
Deriver for entity_complete:ENTITY_TYPE entity migrations. | 1 | ||
| MigrateEntityContentBaseTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests the EntityContentBase destination. | ||||
| MigrateEntityContentValidationTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests validation of an entity during migration. | ||||
| MigrateEntityRevision | class | Drupal\migrate\Plugin\Derivative | core/ |
The migrate entity revision deriver. | 1 | |||
| MigrateEntityTranslationSettingsTest | class | Drupal\Tests\content_translation\Kernel\Migrate\d7 | core/ |
Tests the migration of entity translation settings. | ||||
| MigrateEvents | final class | Drupal\migrate\Event | core/ |
Defines events for the migration system. | 10 | |||
| MigrateEventsTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests events fired on migrations. | ||||
| MigrateException | class | Drupal\migrate | core/ |
Defines the migrate exception class. | 1 | 73 | ||
| MigrateExecutable | class | Drupal\migrate | core/ |
Defines a migrate executable class. | 3 | 41 | ||
| MigrateExecutableInterface | interface | Drupal\migrate | core/ |
Interface for the migration executable. | 1 | 101 | ||
| MigrateExecutableTest | class | Drupal\Tests\migrate\Unit | core/ |
Tests Drupal\migrate\MigrateExecutable. | ||||
| MigrateExecutableTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests the MigrateExecutable class. | ||||
| MigrateExternalTranslatedTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests migrating non-Drupal translated content. | ||||
| MigrateExternalTranslatedTestSource | class | Drupal\migrate_external_translated_test\Plugin\migrate\source | core/ |
A simple migrate source for our tests. | ||||
| MigrateField | class | Drupal\migrate_drupal\Attribute | core/ |
Defines a field plugin attribute object. | 24 | 1 | ||
| MigrateField | class | Drupal\migrate_drupal\Annotation | core/ |
Defines a field plugin annotation object. | 1 | 1 | ||
| MigrateFieldFormatterSettingsTest | class | Drupal\Tests\field\Kernel\Migrate\d6 | core/ |
Upgrade field formatter settings to entity.display.*.*.yml. | ||||
| MigrateFieldFormatterSettingsTest | class | Drupal\Tests\field\Kernel\Migrate\d7 | core/ |
Tests migration of D7 field formatter settings. | ||||
| MigrateFieldInstanceLabelDescriptionTest | class | Drupal\Tests\field\Kernel\Migrate\d6 | core/ |
Tests migration of field label and description translations. | ||||
| MigrateFieldInstanceLabelDescriptionTest | class | Drupal\Tests\field\Kernel\Migrate\d7 | core/ |
Tests migration field label and description i18n translations. | ||||
| MigrateFieldInstanceOptionTranslationTest | class | Drupal\Tests\field\Kernel\Migrate\d6 | core/ |
Migrate field instance option translations. | ||||
| MigrateFieldInstanceOptionTranslationTest | class | Drupal\Tests\field\Kernel\Migrate\d7 | core/ |
Migrate field instance option translations. | ||||
| MigrateFieldInstanceTest | class | Drupal\Tests\field\Kernel\Migrate\d6 | core/ |
Migrate field instances. | ||||
| MigrateFieldInstanceTest | class | Drupal\Tests\field\Kernel\Migrate\d7 | core/ |
Migrates Drupal 7 field instances. | 1 | |||
| MigrateFieldInstanceWidgetSettingsTest | class | Drupal\Tests\field\Kernel\Migrate\d7 | core/ |
Migrate field widget settings. | ||||
| MigrateFieldInterface | interface | Drupal\migrate_drupal\Plugin | core/ |
Provides an interface for all field type plugins. | 1 | 2 | ||
| MigrateFieldOptionTranslationTest | class | Drupal\Tests\field\Kernel\Migrate\d6 | core/ |
Migrate field option translations. | ||||
| MigrateFieldOptionTranslationTest | class | Drupal\Tests\field\Kernel\Migrate\d7 | core/ |
Migrate field option translations. |
Pagination
- Previous page
- Page 127
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.