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 |
---|---|---|---|---|---|---|---|---|
MigrateNodeDeriverTest | class | Drupal\Tests\node\Kernel\Migrate\d6 | core/ |
Test D6NodeDeriver. | ||||
MigrateNodeDeriverTest | class | Drupal\Tests\node\Kernel\Migrate\d7 | core/ |
Test D7NodeDeriver. | ||||
MigrateNodeRevisionTest | class | Drupal\Tests\node\Kernel\Migrate\d6 | core/ |
Node content revisions migration. | ||||
MigrateNodeRevisionTest | class | Drupal\Tests\node\Kernel\Migrate\d7 | core/ |
Tests node revision migrations. | ||||
MigrateNodeSettingPromoteTest | class | Drupal\Tests\node\Kernel\Migrate\d6 | core/ |
@group migrate_drupal_6 | ||||
MigrateNodeSettingStatusTest | class | Drupal\Tests\node\Kernel\Migrate\d6 | core/ |
@group migrate_drupal_6 | ||||
MigrateNodeSettingsTest | class | Drupal\Tests\node\Kernel\Migrate\d7 | core/ |
Upgrade variables to node.settings config object. | ||||
MigrateNodeSettingStickyTest | class | Drupal\Tests\node\Kernel\Migrate\d6 | core/ |
@group migrate_drupal_6 | ||||
MigrateNodeStubTest | class | Drupal\Tests\node\Kernel\Migrate | core/ |
Test stub creation for nodes. | ||||
MigrateNodeTaxonomyTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d7 | core/ |
@group taxonomy | ||||
MigrateNodeTest | class | Drupal\Tests\node\Kernel\Migrate\d6 | core/ |
Node content migration. | ||||
MigrateNodeTest | class | Drupal\Tests\node\Kernel\Migrate\d7 | core/ |
Tests node migration. | ||||
MigrateNodeTestBase | abstract class | Drupal\Tests\node\Kernel\Migrate\d6 | core/ |
Base class for Node migration tests. | 7 | 4 | ||
MigrateNodeTitleLabelTest | class | Drupal\Tests\node\Kernel\Migrate\d7 | core/ |
Tests migration of the title field label for node types. | ||||
MigrateNodeTypeTest | class | Drupal\Tests\node\Kernel\Migrate\d6 | core/ |
Upgrade node types to node.type.*.yml. | ||||
MigrateNodeTypeTest | class | Drupal\Tests\node\Kernel\Migrate\d7 | core/ |
Upgrade node types to node.type.*.yml. | ||||
MigrateNoMigrateDrupalTest | class | Drupal\Tests\migrate\Functional | core/ |
Execute migration. | ||||
MigrateNullIdMapTest | class | Drupal\Tests\migrate\Unit | core/ |
Tests the NULL ID map plugin. | ||||
MigratePluginManager | class | Drupal\migrate\Plugin | core/ |
Manages migrate plugins. | 3 | 3 | 3 | |
MigratePluginManagerInterface | interface | Drupal\migrate\Plugin | core/ |
2 | 1 | |||
MigratePostRowSaveEvent | class | Drupal\migrate\Event | core/ |
Wraps a post-save event for event listeners. | 6 | |||
MigratePostRowSaveEventTest | class | Drupal\Tests\migrate\Unit\Event | core/ |
@coversDefaultClass \Drupal\migrate\Event\MigratePostRowSaveEvent @group migrate | ||||
MigratePreRowSaveEvent | class | Drupal\migrate\Event | core/ |
Wraps a pre-save event for event listeners. | 1 | 3 | ||
MigratePreRowSaveEventTest | class | Drupal\Tests\migrate\Unit\Event | core/ |
@coversDefaultClass \Drupal\migrate\Event\MigratePreRowSaveEvent @group migrate | ||||
MigratePrivateFileTest | class | Drupal\Tests\file\Kernel\Migrate\d7 | core/ |
Tests private files migration. | ||||
MigrateProcessInterface | interface | Drupal\migrate\Plugin | core/ |
An interface for migrate process plugins. | 1 | 16 | ||
MigrateProcessPlugin | class | Drupal\migrate\Annotation | core/ |
Defines a migration process plugin annotation object. | 1 | |||
MigrateProcessTestCase | abstract class | Drupal\Tests\migrate\Unit\process | core/ |
31 | 11 | |||
MigrateProfileFieldOptionTranslationTest | class | Drupal\Tests\user\Kernel\Migrate\d6 | core/ |
Tests field option translations migration. | ||||
MigrateRdfMappingTest | class | Drupal\Tests\rdf\Kernel\Migrate\d7 | core/ |
Tests RDF mappings migration from Drupal 7 to 8. | ||||
MigrateRollbackEntityConfigTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests rolling back of imports. | ||||
MigrateRollbackEvent | class | Drupal\migrate\Event | core/ |
Wraps a pre- or post-rollback event for event listeners. | 3 | |||
MigrateRollbackTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests rolling back of imports. | ||||
MigrateRowDeleteEvent | class | Drupal\migrate\Event | core/ |
Wraps a row deletion event for event listeners. | 2 | |||
MigrateSearchPageTest | class | Drupal\Tests\search\Kernel\Migrate\d6 | core/ |
Upgrade search page variables. | ||||
MigrateSearchPageTest | class | Drupal\Tests\search\Kernel\Migrate\d7 | core/ |
Tests migration of search page status and settings. | ||||
MigrateSearchSettingsTest | class | Drupal\Tests\search\Kernel\Migrate\d6 | core/ |
Upgrade variables to search.settings.yml. | ||||
MigrateSearchSettingsTest | class | Drupal\Tests\search\Kernel\Migrate\d7 | core/ |
Tests migration of Search variables to configuration. | ||||
MigrateShortcutSetTest | class | Drupal\Tests\shortcut\Kernel\Migrate\d7 | core/ |
Test shortcut_set migration to ShortcutSet entities. | ||||
MigrateShortcutSetUsersTest | class | Drupal\Tests\shortcut\Kernel\Migrate\d7 | core/ |
Test shortcut_set_users migration. | ||||
MigrateShortcutStubTest | class | Drupal\Tests\shortcut\Kernel\Migrate | core/ |
Test stub creation for shortcut entities. | ||||
MigrateShortcutTest | class | Drupal\Tests\shortcut\Kernel\Migrate\d7 | core/ |
Test shortcut menu links migration to Shortcut entities. | ||||
MigrateSimpletestConfigsTest | class | Drupal\Tests\simpletest\Kernel\Migrate\d6 | core/ |
Upgrade variables to simpletest.settings.yml. | ||||
MigrateSimpletestSettingsTest | class | Drupal\Tests\simpletest\Kernel\Migrate\d7 | core/ |
Tests migration of SimpleTest's variables to configuration. | ||||
MigrateSkipProcessException | class | Drupal\migrate | core/ |
This exception is thrown when the rest of the process should be skipped. | 7 | |||
MigrateSkipRowException | class | Drupal\migrate | core/ |
This exception is thrown when a row should be skipped. | 19 | |||
MigrateSkipRowTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests row skips triggered during hook_migrate_prepare_row(). | ||||
MigrateSource | class | Drupal\migrate\Annotation | core/ |
Defines a migration source plugin annotation object. | ||||
MigrateSourceInterface | interface | Drupal\migrate\Plugin | core/ |
Defines an interface for migrate sources. | 2 | 7 | ||
MigrateSourcePluginManager | class | Drupal\migrate\Plugin | core/ |
Plugin manager for migrate source plugins. | 1 | 2 |
Pagination
- Previous page
- Page 111
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.