Search for lookup

  1. Search 7.x for lookup
  2. Search 9.5.x for lookup
  3. Search 10.3.x for lookup
  4. Search 11.x for lookup
  5. Other projects
Title Object type File name Summary
MigrateLookupTest::testLookup function core/modules/migrate/tests/src/Unit/MigrateLookupTest.php Tests the lookup function.
MigrateLookupTest::testLookupWithStringIds function core/modules/migrate/tests/src/Kernel/MigrateLookupTest.php Tests a lookup with string source ids.
MigrateLookupTest::testMultipleMigrationLookup function core/modules/migrate/tests/src/Kernel/MigrateLookupTest.php Tests looking up against multiple migrations at once.
MigrateLookupTest::testMultipleSourceIds function core/modules/migrate/tests/src/Kernel/MigrateLookupTest.php Tests lookups with multiple source ids.
MigrateLookupTest::testSingleLookup function core/modules/migrate/tests/src/Kernel/MigrateLookupTest.php Tests scenarios around single id lookups.
MigrateSqlIdMapTest::lookupDestinationIdMappingDataProvider function core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php Data provider for testLookupDestinationIdMapping().
MigrateSqlIdMapTest::lookupSourceIdMappingDataProvider function core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php Data provider for testLookupSourceIdMapping().
MigrateSqlIdMapTest::testLookupDestinationId function core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php Tests lookupDestinationId().
MigrateSqlIdMapTest::testLookupDestinationIdMapping function core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php Performs destination ID test on source and destination fields.
MigrateSqlIdMapTest::testLookupDestinationIds function core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php Tests lookupDestinationIds().
MigrateSqlIdMapTest::testLookupSourceIdMapping function core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php Performs the source ID test on source and destination fields.
MigrateStubTest::$migrateLookup property core/modules/migrate/tests/src/Kernel/MigrateStubTest.php The migration lookup service.
migrate_lookup_test.info.yml file core/modules/migrate/tests/modules/migrate_lookup_test/migrate_lookup_test.info.yml core/modules/migrate/tests/modules/migrate_lookup_test/migrate_lookup_test.info.yml
MigrationLookup class core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php Looks up the value of a property based on a previous migration.
MigrationLookup.php file core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php
MigrationLookup::$migrateLookup property core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php The migrate lookup service.
MigrationLookup::$migrateStub property core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php The migrate stub service.
MigrationLookup::$migration property core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php The migration to be executed.
MigrationLookup::create function core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php Creates an instance of the plugin.
MigrationLookup::createStubRow function core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php Create a stub row source for later import as stub data.
MigrationLookup::isValid function core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php Determines if the value is valid for lookup.
MigrationLookup::skipInvalid function core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php Skips the migration process entirely if the value is invalid.
MigrationLookup::transform function core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php
MigrationLookup::__construct function core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php
MigrationLookupTest class core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php @coversDefaultClass \Drupal\migrate\Plugin\migrate\process\MigrationLookup
@group migrate
MigrationLookupTest.php file core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php
MigrationLookupTest::noSkipValidDataProvider function core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php Provides data for the NoSkipValid test.
MigrationLookupTest::skipInvalidDataProvider function core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php Provides data for the SkipInvalid test.
MigrationLookupTest::successfulLookupDataProvider function core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php Provides data for the successful lookup test.
MigrationLookupTest::testMultipleSourceIds function core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php Tests processing multiple source IDs.
MigrationLookupTest::testNoSkipValid function core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php Test that valid, but technically empty values are not skipped.
MigrationLookupTest::testSkipInvalid function core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php Tests that processing is skipped when the input value is invalid.
MigrationLookupTest::testSuccessfulLookup function core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php Tests a successful lookup.
MigrationLookupTest::testTransformWithStubbing function core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php @covers ::transform
MigrationLookupTest::testTransformWithStubSkipping function core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php @covers ::transform
MigrationLookupTestCase class core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php Provides container handling for migration lookup unit tests.
MigrationLookupTestCase.php file core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php
MigrationLookupTestCase::$migrateLookup property core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php The prophecy of the migrate lookup service.
MigrationLookupTestCase::$migrateStub property core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php The prophecy of the migrate stub service.
MigrationLookupTestCase::prepareContainer function core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php Prepares and sets the container.
MigrationLookupTestCase::setUp function core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php
MigrationTest::successfulLookupDataProvider function core/modules/migrate/tests/src/Unit/process/MigrationTest.php Provides data for the successful lookup test.
MigrationTest::testSuccessfulLookup function core/modules/migrate/tests/src/Unit/process/MigrationTest.php Tests a successful lookup.
NodeCompleteNodeLookup class core/modules/migrate_drupal/src/Plugin/migrate/process/NodeCompleteNodeLookup.php Returns only the nid from migration_lookup on node_complete migration.
NodeCompleteNodeLookup.php file core/modules/migrate_drupal/src/Plugin/migrate/process/NodeCompleteNodeLookup.php
NodeCompleteNodeLookup::transform function core/modules/migrate_drupal/src/Plugin/migrate/process/NodeCompleteNodeLookup.php Performs the associated process.
NodeCompleteNodeRevisionLookup class core/modules/migrate_drupal/src/Plugin/migrate/process/NodeCompleteNodeRevisionLookup.php Returns only the vid from migration_lookup on node_complete migration.
NodeCompleteNodeRevisionLookup.php file core/modules/migrate_drupal/src/Plugin/migrate/process/NodeCompleteNodeRevisionLookup.php
NodeCompleteNodeRevisionLookup::transform function core/modules/migrate_drupal/src/Plugin/migrate/process/NodeCompleteNodeRevisionLookup.php Performs the associated process.
NodeCompleteNodeTranslationLookup class core/modules/migrate_drupal/src/Plugin/migrate/process/NodeCompleteNodeTranslationLookup.php Returns nid and langcode from migration_lookup on node_complete migration.

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