diff --git a/core/modules/migrate/src/Annotation/MigrateSource.php b/core/modules/migrate/src/Annotation/MigrateSource.php index 85a69bb94f179e50d7858a8ba1ef4570d75dc607..95b53e3e822ab7f133ef50f666bf11921b9f4613 100644 --- a/core/modules/migrate/src/Annotation/MigrateSource.php +++ b/core/modules/migrate/src/Annotation/MigrateSource.php @@ -45,4 +45,30 @@ class MigrateSource extends Plugin { */ public $requirements_met = TRUE; + /** + * Identifies the system providing the data the source plugin will read. + * + * This can be any type, and the source plugin itself determines how the value + * is used. For example, Migrate Drupal's source plugins expect + * source_provider to be the name of a module that must be installed and + * enabled in the source database. + * + * @see \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase::checkRequirements + * + * @var mixed + */ + public $source_provider; + + /** + * Specifies the minimum version of the source provider. + * + * This can be any type, and the source plugin itself determines how it is + * used. For example, Migrate Drupal's source plugins expect this to be an + * integer representing the minimum installed database schema version of the + * module specified by source_provider. + * + * @var mixed + */ + public $minimum_version; + }