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 |
---|---|---|---|---|---|---|---|---|
MigrateFilterSettingsTest | class | Drupal\Tests\filter\Kernel\Migrate\d7 | core/ |
Tests migration of Filter's settings to configuration. | ||||
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 | 37 | ||
MigrateIdMapMessageEvent | class | Drupal\migrate\Event | core/ |
Wraps an idmap 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 @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. | ||||
MigrateLanguageContentSettingsTest | class | Drupal\Tests\language\Kernel\Migrate\d6 | core/ |
Tests migration of language content setting variables, language_content_type_$type, i18n_node_options_* and i18n_lock_node_*. | ||||
MigrateLanguageContentSettingsTest | class | Drupal\Tests\language\Kernel\Migrate\d7 | core/ |
Tests migration of language content setting variables, language_content_type_$type, i18n_node_options_* and i18n_lock_node_*. | ||||
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. | ||||
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 | ||||
MigrateLinkDomainSettingFromRestToHalUpdateTest | class | Drupal\Tests\hal\Functional\Update | core/ |
'link_domain' is migrated from 'rest.settings' to 'hal.settings'. | ||||
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 | 13 | ||
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. | ||||
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. | ||||
MigrateMenuLinkTranslationTest | class | Drupal\Tests\menu_link_content\Kernel\Migrate\d6 | core/ |
Menu link 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. | ||||
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. | ||||
MigrateMessageInterface | interface | Drupal\migrate | core/ |
4 | 11 | |||
MigrateMessageTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests whether idmap messages are sent to message interface when requested. | ||||
MigrateNodeBundleSettingsTest | class | Drupal\Tests\node\Kernel\Migrate\d6 | core/ |
Test migrating node settings into the base_field_bundle_override config entity. | ||||
MigrateNodeCompleteTest | class | Drupal\Tests\node\Kernel\Migrate\d6 | core/ |
Test class for a complete node migration for Drupal 6. | ||||
MigrateNodeCompleteTest | class | Drupal\Tests\node\Kernel\Migrate\d7 | core/ |
Test class for a complete node migration for Drupal 7. | ||||
MigrateNodeConfigsTest | class | Drupal\Tests\node\Kernel\Migrate\d6 | core/ |
Upgrade variables to node.settings.yml. | ||||
MigrateNodeCounterTest | class | Drupal\Tests\statistics\Kernel\Migrate\d6 | core/ |
Tests the migration of node counter data to Drupal 8. | ||||
MigrateNodeCounterTest | class | Drupal\Tests\statistics\Kernel\Migrate\d7 | core/ |
Tests the migration of node counter data to Drupal 8. |
Pagination
- Previous page
- Page 110
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.