diff --git a/core/modules/migrate/src/Plugin/migrate/source/EmptySource.php b/core/modules/migrate/src/Plugin/migrate/source/EmptySource.php index 2391b0a..69fdc21 100644 --- a/core/modules/migrate/src/Plugin/migrate/source/EmptySource.php +++ b/core/modules/migrate/src/Plugin/migrate/source/EmptySource.php @@ -3,9 +3,22 @@ namespace Drupal\migrate\Plugin\migrate\source; /** - * Source returning an empty row. + * Source returning row based on the constants provided. * - * This is generally useful when needing to create a field using a migration.. + * This is generally useful when needing to create a field using a migration. + * + * Examples: + * + * @code + * source: + * plugin: empty + * constants: + * entity_type: user + * field_name: image + * @endcode + * + * This will enable creation of data, based on the "constants", without an + * existing source. * * @MigrateSource( * id = "empty"