Pull merge.
[yaffs-website] / web / core / modules / migrate / src / Plugin / migrate / source / EmptySource.php
index 5f44035e254525bc29b61bc92a6fb24f3ef88965..c3add91a6b791b59572ef9ce44820794278213c4 100644 (file)
@@ -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;
   }