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