diff --git a/core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php b/core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php index 1c77272..0c583d8 100644 --- a/core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php +++ b/core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php @@ -30,6 +30,8 @@ * a list of source properties. * - stub_id: (optional) Identifies the migration which will be used to create * any stub entities. + * - no_stub: (optional) Prevents the creation of a stub entity when no + * relationship is found in the migration map. * * Examples: * @@ -65,7 +67,7 @@ * users: * - author * members: - * - author + * - id * @endcode * * If the migration_lookup plugin does not find the source ID in the migration @@ -99,32 +101,6 @@ * source: author * @endcode * - * Scenario: - * - field_drupal6_pages is a Drupal 6 node reference field. - * - field_drupal8_pages is a Drupal 8 entity reference field. - * - * @code - * field_drupal8_pages: - * plugin: migration_lookup - * migration: ya_node_page - * source: field_drupal6_pages - * @endcode - * - * Scenario: - * - field_drupal7_pages is a Drupal 7 entity reference field. - * - field_drupal8_pages is a Drupal 8 entity reference field. - * - * @code - * field_drupal8_pages: - * plugin: iterator - * source: field_drupal7_pages - * process: - * target_id: - * plugin: migration_lookup - * migration: ya_node_page - * source: target_id - * @endcode - * * @see \Drupal\migrate\Plugin\MigrateProcessInterface * * @MigrateProcessPlugin(