Search for source

  1. Search 7.x for source
  2. Search 9.5.x for source
  3. Search 8.9.x for source
  4. Search 10.3.x for source
  5. Other projects
Title Object type File name Summary
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::NOT_COUNTABLE constant core/modules/migrate/src/Plugin/MigrateSourceInterface.php Indicates that the source is not countable.
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
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 Tests that the source count is correct.
MigrateSourceTest::testCountCacheKey function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Tests that the key can be set for the count cache.
MigrateSourceTest::testDefaultPropertiesValues function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Tests that default values are preserved for several source methods.
MigrateSourceTest::testHighwaterTrackChangesIncompatible function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php @covers ::__construct
MigrateSourceTest::testNewHighwater function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Tests that a highwater mark newer than our saved one imports a row.
MigrateSourceTest::testNextNeedsUpdate function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Tests that $row->needsUpdate() works as expected.
MigrateSourceTest::testOutdatedHighwater function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Tests that an outdated highwater mark does not cause a row to be imported.
MigrateSourceTest::testPrepareRow function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Tests basic row preparation.
MigrateSourceTest::testPrepareRowFalse function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Tests that we don't get a row if prepareRow() is false.
MigrateSourceTest::testPrepareRowGlobalPrepareSkip function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Tests that global prepare hooks can skip rows.
MigrateSourceTest::testPrepareRowMigratePrepareSkip function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Tests that migrate specific prepare hooks can skip rows.
MigrateSourceTest::testPrepareRowPrepareException function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Tests that a skip exception during prepare hooks correctly skips.
MigrateSourceTestBase class core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php Base class for tests of Migrate source plugins.
MigrateSourceTestBase.php file core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php
MigrateSourceTestBase::$migration property core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php The mocked migration.
MigrateSourceTestBase::$modules property core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php Modules to install.
MigrateSourceTestBase::$plugin property core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php The source plugin under test.
MigrateSourceTestBase::getPlugin function core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php Instantiates the source plugin under test.
MigrateSourceTestBase::getPluginClass function core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php Determines the plugin to be tested by reading the class @covers annotation.

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