X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fmigrate%2Fsrc%2FPlugin%2Fmigrate%2Fsource%2FEmptySource.php;h=c3add91a6b791b59572ef9ce44820794278213c4;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=5f44035e254525bc29b61bc92a6fb24f3ef88965;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;p=yaffs-website diff --git a/web/core/modules/migrate/src/Plugin/migrate/source/EmptySource.php b/web/core/modules/migrate/src/Plugin/migrate/source/EmptySource.php index 5f44035e2..c3add91a6 100644 --- a/web/core/modules/migrate/src/Plugin/migrate/source/EmptySource.php +++ b/web/core/modules/migrate/src/Plugin/migrate/source/EmptySource.php @@ -19,7 +19,8 @@ namespace Drupal\migrate\Plugin\migrate\source; * elements, with values of 'user' and 'image', respectively. * * @MigrateSource( - * id = "empty" + * id = "empty", + * source_module = "migrate" * ) */ class EmptySource extends SourcePluginBase { @@ -58,7 +59,7 @@ class EmptySource extends SourcePluginBase { /** * {@inheritdoc} */ - public function count() { + public function count($refresh = FALSE) { return 1; }