Search for source

  1. Search 7.x for source
  2. Search 9.5.x for source
  3. Search 10.3.x for source
  4. Search 11.x for source
  5. Other projects
Title Object type File name Summary
MigrateField::$source_module property core/modules/migrate_drupal/src/Annotation/MigrateField.php Identifies the system providing the data the field plugin will read.
MigrateIdMapInterface::currentSource function core/modules/migrate/src/Plugin/MigrateIdMapInterface.php Looks up the source identifier(s) currently being iterated.
MigrateIdMapInterface::getRowBySource function core/modules/migrate/src/Plugin/MigrateIdMapInterface.php Retrieves a row from the map table based on source identifier values.
MigrateIdMapInterface::lookupSourceId function core/modules/migrate/src/Plugin/MigrateIdMapInterface.php Looks up the source identifier.
MigrateIdMapMessageEvent::$sourceIdValues property core/modules/migrate/src/Event/MigrateIdMapMessageEvent.php Array of values uniquely identifying the source row.
MigrateIdMapMessageEvent::getSourceIdValues function core/modules/migrate/src/Event/MigrateIdMapMessageEvent.php Gets the source ID values.
MigrateLookupTest::testMultipleSourceIds function core/modules/migrate/tests/src/Kernel/MigrateLookupTest.php Tests lookups with multiple source ids.
MigrateMapDeleteEvent::$sourceId property core/modules/migrate/src/Event/MigrateMapDeleteEvent.php Array of source ID fields.
MigrateMapDeleteEvent::getSourceId function core/modules/migrate/src/Event/MigrateMapDeleteEvent.php Gets the source ID of the item being removed from the map.
MigrateSource class core/modules/migrate/src/Annotation/MigrateSource.php Defines a migration source plugin annotation object.
MigrateSource.php file core/modules/migrate/src/Annotation/MigrateSource.php
MigrateSource::$id property core/modules/migrate/src/Annotation/MigrateSource.php A unique identifier for the process plugin.
MigrateSource::$minimum_version property core/modules/migrate/src/Annotation/MigrateSource.php Specifies the minimum version of the source provider.
MigrateSource::$requirements_met property core/modules/migrate/src/Annotation/MigrateSource.php Whether requirements are met.
MigrateSource::$source_module property core/modules/migrate/src/Annotation/MigrateSource.php Identifies the system providing the data the source plugin will read.
MigrateSource::getProvider function core/modules/migrate/src/Annotation/MigrateSource.php Gets the name of the provider of the annotated class.
MigrateSource::getProviders function core/modules/migrate/src/Annotation/MigrateSource.php Gets the provider names of the annotated class.
MigrateSource::setProviders function core/modules/migrate/src/Annotation/MigrateSource.php Sets the provider names of the annotated class.
MigrateSourceInterface interface core/modules/migrate/src/Plugin/MigrateSourceInterface.php Defines an interface for migrate sources.
MigrateSourceInterface.php file core/modules/migrate/src/Plugin/MigrateSourceInterface.php
MigrateSourceInterface::fields function core/modules/migrate/src/Plugin/MigrateSourceInterface.php Returns available fields on the source.
MigrateSourceInterface::getIds function core/modules/migrate/src/Plugin/MigrateSourceInterface.php Defines the source fields uniquely identifying a source row.
MigrateSourceInterface::getSourceModule function core/modules/migrate/src/Plugin/MigrateSourceInterface.php Gets the source module providing the source data.
MigrateSourceInterface::prepareRow function core/modules/migrate/src/Plugin/MigrateSourceInterface.php Adds additional data to the row.
MigrateSourceInterface::__toString function core/modules/migrate/src/Plugin/MigrateSourceInterface.php Allows class to decide how it will react when it is treated like a string.
MigrateSourcePluginManager class core/modules/migrate/src/Plugin/MigrateSourcePluginManager.php Plugin manager for migrate source plugins.
MigrateSourcePluginManager.php file core/modules/migrate/src/Plugin/MigrateSourcePluginManager.php
MigrateSourcePluginManager::findDefinitions function core/modules/migrate/src/Plugin/MigrateSourcePluginManager.php Finds plugin definitions.
MigrateSourcePluginManager::getDiscovery function core/modules/migrate/src/Plugin/MigrateSourcePluginManager.php Gets the plugin discovery.
MigrateSourcePluginManager::__construct function core/modules/migrate/src/Plugin/MigrateSourcePluginManager.php MigrateSourcePluginManager constructor.
MigrateSourceTest class core/modules/migrate/tests/src/Unit/MigrateSourceTest.php @coversDefaultClass \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
@group migrate
MigrateSourceTest.php file core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Contains \Drupal\Tests\migrate\Unit\MigrateSourceTest.
MigrateSourceTest::$defaultMigrationConfiguration property core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Override the migration config.
MigrateSourceTest::$executable property core/modules/migrate/tests/src/Unit/MigrateSourceTest.php The migrate executable.
MigrateSourceTest::$migration property core/modules/migrate/tests/src/Unit/MigrateSourceTest.php The migration entity.
MigrateSourceTest::$row property core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Test row data.
MigrateSourceTest::$sourceIds property core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Test source ids.
MigrateSourceTest::getMigrateExecutable function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Gets a mock executable for the test.
MigrateSourceTest::getSource function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Gets the source plugin to test.
MigrateSourceTest::testCount function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Test that the source count is correct.
MigrateSourceTest::testCountCacheKey function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Test that the key can be set for the count cache.
MigrateSourceTest::testDefaultPropertiesValues function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Test that cacheCounts, skipCount, trackChanges preserve their default
values.
MigrateSourceTest::testHighwaterTrackChangesIncompatible function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php @covers ::__construct
MigrateSourceTest::testNewHighwater function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Test that a highwater mark newer than our saved one imports a row.
MigrateSourceTest::testNextNeedsUpdate function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Test that $row->needsUpdate() works as expected.
MigrateSourceTest::testOutdatedHighwater function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Test that an outdated highwater mark does not cause a row to be imported.
MigrateSourceTest::testPrepareRow function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Test basic row preparation.
MigrateSourceTest::testPrepareRowFalse function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Test that we don't get a row if prepareRow() is false.
MigrateSourceTest::testPrepareRowGlobalPrepareSkip function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Test that global prepare hooks can skip rows.
MigrateSourceTest::testPrepareRowMigratePrepareSkip function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Test that migrate specific prepare hooks can skip rows.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.