Loading src/Plugin/migrate/process/DefaultEntityValue.php +10 −2 Changes for src/Plugin/migrate/process/DefaultEntityValue.php: 10 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -8,9 +8,11 @@ use Drupal\migrate\Row; /** * Returns EntityLookup for a given default value if input is empty. * * @see \Drupal\migrate_plus\Plugin\migrate\process\EntityLookup * Available configuration keys: * - default_value: The default value that will be used as for the entity lookup. * For additional configuration keys, refer to the parent class. * * Example usage with full configuration: * Example: * @code * process: * uid: Loading @@ -26,6 +28,12 @@ use Drupal\migrate\Row; * default_value: editorial * @endcode * * In this example, it will look up the source value of author in the users * migration and if not found, use entity lookup to find a user with "editorial" * username. * * @see \Drupal\migrate_plus\Plugin\migrate\process\EntityLookup * * @MigrateProcessPlugin( * id = "default_entity_value", * handle_multiples = TRUE Loading Loading
src/Plugin/migrate/process/DefaultEntityValue.php +10 −2 Changes for src/Plugin/migrate/process/DefaultEntityValue.php: 10 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -8,9 +8,11 @@ use Drupal\migrate\Row; /** * Returns EntityLookup for a given default value if input is empty. * * @see \Drupal\migrate_plus\Plugin\migrate\process\EntityLookup * Available configuration keys: * - default_value: The default value that will be used as for the entity lookup. * For additional configuration keys, refer to the parent class. * * Example usage with full configuration: * Example: * @code * process: * uid: Loading @@ -26,6 +28,12 @@ use Drupal\migrate\Row; * default_value: editorial * @endcode * * In this example, it will look up the source value of author in the users * migration and if not found, use entity lookup to find a user with "editorial" * username. * * @see \Drupal\migrate_plus\Plugin\migrate\process\EntityLookup * * @MigrateProcessPlugin( * id = "default_entity_value", * handle_multiples = TRUE Loading