Classes, traits, and interfaces - 10.3.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 1518
| Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
|---|---|---|---|---|---|---|---|---|
| MigrateForumConfigsTest | class | Drupal\Tests\forum\Kernel\Migrate\d6 | core/ |
Upgrade variables to forum.settings.yml. | ||||
| MigrateForumSettingsTest | class | Drupal\Tests\forum\Kernel\Migrate\d7 | core/ |
Tests migration of Forum's variables to configuration. | ||||
| MigrateForumTest | class | Drupal\Tests\forum\Kernel\Migrate\d6 | core/ |
Tests forum migration from Drupal 6 to Drupal 8. | ||||
| MigrateGlobalThemeSettingsTest | class | Drupal\Tests\system\Kernel\Migrate\d7 | core/ |
Tests migration of global theme settings variables to configuration. | ||||
| MigrateIdMapInterface | interface | Drupal\migrate\Plugin | core/ |
Defines an interface for migrate ID mappings. | 2 | 42 | ||
| 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/ |
@coversDefaultClass \Drupal\migrate\Event\MigrateImportEvent[[api-linebreak]] @group migrate | ||||
| 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. | ||||
| MigrateLanguageContentMenuSettingsTest | class | Drupal\Tests\language\Kernel\Migrate\d7 | core/ |
Tests migration of i18n_menu settings. | ||||
| MigrateLanguageContentSettingsTest | class | Drupal\Tests\language\Kernel\Migrate\d6 | core/ |
Tests the migration of language-related settings. | ||||
| MigrateLanguageContentSettingsTest | class | Drupal\Tests\language\Kernel\Migrate\d7 | core/ |
Tests the migration of language-related settings. | ||||
| MigrateLanguageContentTaxonomyVocabularySettingsTest | class | Drupal\Tests\language\Kernel\Migrate\d6 | core/ |
Tests migration of i18ntaxonomy vocabulary settings. | ||||
| MigrateLanguageContentTaxonomyVocabularySettingsTest | class | Drupal\Tests\language\Kernel\Migrate\d7 | core/ |
Tests migration of i18ntaxonomy vocabulary settings. | 1 | 1 | ||
| MigrateLanguageContentTaxonomyVocabularySettingsTest | class | Drupal\Tests\forum\Kernel\Migrate\d7 | core/ |
Tests migration of i18ntaxonomy vocabulary settings. | ||||
| MigrateLanguageNegotiationSettingsTest | class | Drupal\Tests\language\Kernel\Migrate\d6 | core/ |
Tests the migration of language negotiation and language types. | ||||
| MigrateLanguageNegotiationSettingsTest | class | Drupal\Tests\language\Kernel\Migrate\d7 | core/ |
Tests the migration of language negotiation. | ||||
| MigrateLanguageTest | class | Drupal\Tests\language\Kernel\Migrate\d6 | core/ |
@group migrate_drupal_6 | ||||
| MigrateLocaleConfigsTest | class | Drupal\Tests\locale\Kernel\Migrate | core/ |
Upgrade variables to locale.settings.yml. | ||||
| MigrateLookup | class | Drupal\migrate | core/ |
Provides a migration lookup service. | 1 | 2 | ||
| MigrateLookupInterface | interface | Drupal\migrate | core/ |
Provides an interface for the migration lookup service. | 1 | 12 | ||
| MigrateLookupTest | class | Drupal\Tests\migrate\Unit | core/ |
Provides unit testing for the migration lookup service. | ||||
| MigrateLookupTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests the Migrate Lookup service. | ||||
| MigrateMapDeleteEvent | class | Drupal\migrate\Event | core/ |
Wraps a migrate map delete event for event listeners. | 3 | |||
| MigrateMapSaveEvent | class | Drupal\migrate\Event | core/ |
Wraps a migrate map save event for event listeners. | 3 | |||
| MigrateMenuLinkContentStubTest | class | Drupal\Tests\menu_link_content\Kernel\Migrate | core/ |
Test stub creation for menu link content entities. | ||||
| MigrateMenuLinkLocalizedTest | class | Drupal\Tests\menu_link_content\Kernel\Migrate\d6 | core/ |
Tests Menu link localized translation migration. | ||||
| MigrateMenuLinkLocalizedTest | class | Drupal\Tests\menu_link_content\Kernel\Migrate\d7 | core/ |
Tests Menu link localized translation migration. | ||||
| MigrateMenuLinkTest | class | Drupal\Tests\menu_link_content\Kernel\Migrate\d6 | core/ |
Menu link migration. | ||||
| MigrateMenuLinkTest | class | Drupal\Tests\menu_link_content\Kernel\Migrate\d7 | core/ |
Menu link migration. | ||||
| MigrateMenuLinkTestTrait | trait | Drupal\Tests\menu_link_content\Kernel\Migrate | core/ |
Provides assertions for testing MenuLinkContent. | 4 | |||
| MigrateMenuLinkTranslationTest | class | Drupal\Tests\menu_link_content\Kernel\Migrate\d6 | core/ |
Menu link migration. | ||||
| MigrateMenuLinkTranslationTest | class | Drupal\Tests\menu_link_content\Kernel\Migrate\d7 | core/ |
Tests Menu link translation migration. | ||||
| MigrateMenuSettingsTest | class | Drupal\Tests\menu_ui\Kernel\Migrate | core/ |
Tests migration of menu_ui settings. | ||||
| MigrateMenuTest | class | Drupal\Tests\system\Kernel\Migrate\d6 | core/ |
Upgrade menus to system.menu.*.yml. | ||||
| MigrateMenuTest | class | Drupal\Tests\system\Kernel\Migrate\d7 | core/ |
Upgrade menus to system.menu.*.yml. | ||||
| MigrateMenuTranslationTest | class | Drupal\Tests\system\Kernel\Migrate\d7 | core/ |
Tests menu translation migration. | ||||
| MigrateMessage | class | Drupal\migrate | core/ |
Defines a migrate message class. | 1 | |||
| MigrateMessageCapture | class | Drupal\migrate_drupal_ui\Batch | core/ |
Allows capturing messages rather than displaying them directly. | ||||
| MigrateMessageController | class | Drupal\migrate_drupal_ui\Controller | core/ |
Provides controller methods for the Message form. | ||||
| MigrateMessageController | class | Drupal\migrate\Controller | core/ |
Provides controller methods for the Message form. | 1 | 1 | ||
| MigrateMessageControllerTest | class | Drupal\Tests\migrate_drupal_ui\Functional | core/ |
Tests for the MigrateController class. |
Pagination
- Previous page
- Page 117
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.