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 |
|---|---|---|---|---|---|---|---|---|
| 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. | ||||
| MigrateFieldPluginManager | in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. |
class | Drupal\migrate_drupal\Plugin | core/ |
Plugin manager for migrate field plugins. | 1 | 3 | 2 |
| MigrateFieldPluginManagerInterface | interface | Drupal\migrate_drupal\Plugin | core/ |
Interface implemented by plugin manager for migrate field plugins. | 1 | 8 | ||
| MigrateFieldPluginManagerTest | class | Drupal\Tests\migrate_drupal\Unit | core/ |
Tests the MigrateFieldPluginManager class. | ||||
| MigrateFieldPluginManagerTest | class | Drupal\Tests\migrate_drupal\Kernel | core/ |
Tests the field plugin manager. | ||||
| MigrateFieldPluginManagerTestClass | class | Drupal\Tests\migrate_drupal\Unit | core/ |
Class to test MigrateFieldPluginManager. | ||||
| MigrateFieldTest | class | Drupal\Tests\field\Kernel\Migrate\d6 | core/ |
Migrate fields. | ||||
| MigrateFieldTest | class | Drupal\Tests\field\Kernel\Migrate\d7 | core/ |
Migrates Drupal 7 fields. | 1 | |||
| MigrateFieldWidgetSettingsTest | class | Drupal\Tests\field\Kernel\Migrate\d6 | core/ |
Migrate field widget settings. | ||||
| MigrateFileConfigsTest | class | Drupal\Tests\file\Kernel\Migrate\d6 | core/ |
Upgrade variables to file.settings.yml. | ||||
| MigrateFileConfigsTest | class | Drupal\Tests\file\Kernel\Migrate\d7 | core/ |
Upgrade variables to file.settings.yml. | ||||
| MigrateFileGetIdsTest | class | Drupal\Tests\file\Kernel\Migrate\d7 | core/ |
Tests the migration of used files. | ||||
| MigrateFileStubTest | class | Drupal\Tests\file\Kernel\Migrate | core/ |
Test stub creation for file entities. | ||||
| MigrateFileTest | class | Drupal\Tests\file\Kernel\Migrate\d6 | core/ |
Test file migration. | ||||
| MigrateFileTest | class | Drupal\Tests\file\Kernel\Migrate\d7 | core/ |
Migrates all files in the file_managed table. | 1 | |||
| MigrateFilterFormatTest | class | Drupal\Tests\filter\Kernel\Migrate\d6 | core/ |
Upgrade variables to filter.formats.*.yml. | ||||
| MigrateFilterFormatTest | class | Drupal\Tests\filter\Kernel\Migrate\d7 | core/ |
Upgrade variables to filter.formats.*.yml. | ||||
| MigrateFilterSettingsTest | class | Drupal\Tests\filter\Kernel\Migrate\d7 | core/ |
Tests migration of Filter's settings to configuration. | ||||
| MigrateGlobalThemeSettingsTest | class | Drupal\Tests\system\Kernel\Migrate\d7 | core/ |
Tests migration of global theme settings variables to configuration. | ||||
| MigrateHooks | class | Drupal\migrate\Hook | core/ |
Hook implementations for migrate. | ||||
| MigrateIdMapInterface | interface | Drupal\migrate\Plugin | core/ |
Defines an interface for migrate ID mappings. | 2 | 41 | ||
| MigrateIdMapMessageEvent | class | Drupal\migrate\Event | core/ |
Wraps an ID map message event for event listeners. | 4 | |||
| MigrateImageCacheTest | class | Drupal\Tests\image\Kernel\Migrate\d6 | core/ |
Tests migration of ImageCache presets to image styles. | ||||
| MigrateImageSettingsTest | class | Drupal\Tests\image\Kernel\Migrate\d7 | core/ |
Tests migration of Image variables to configuration. | ||||
| MigrateImageStylesTest | class | Drupal\Tests\image\Kernel\Migrate\d7 | core/ |
Test image styles migration to config entities. | ||||
| MigrateImageTest | class | Drupal\Tests\image\Kernel\Migrate\d6 | core/ |
Image migration test. | ||||
| MigrateImportEvent | class | Drupal\migrate\Event | core/ |
Wraps a pre- or post-import event for event listeners. | 6 | |||
| MigrateImportEventTest | class | Drupal\Tests\migrate\Unit\Event | core/ |
Tests Drupal\migrate\Event\MigrateImportEvent. | ||||
| MigrateInterruptionTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests interruptions triggered during migrations. | ||||
| MigrateLanguageContentCommentSettingsNoEntityTranslationTest | class | Drupal\Tests\language\Kernel\Migrate\d7 | core/ |
Tests language content comment settings migration with no entity translation. | ||||
| MigrateLanguageContentCommentSettingsTest | class | Drupal\Tests\language\Kernel\Migrate\d6 | core/ |
Tests migration of language content comment settings. | ||||
| MigrateLanguageContentCommentSettingsTest | class | Drupal\Tests\language\Kernel\Migrate\d7 | core/ |
Tests migration of language comment settings. | ||||
| MigrateLanguageContentMenuSettingsTest | class | Drupal\Tests\language\Kernel\Migrate\d6 | core/ |
Tests migration of the ability to translate menu content. |
Pagination
- Previous page
- Page 134
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.