X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fmigrate%2Fsrc%2FPlugin%2Fmigrate%2Fsource%2FEmbeddedDataSource.php;h=f386a008e57ff378d6f5b04e1eddc2f7130e718d;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=0bb35f3e24bb53c48554fc11c7151d21dd6d06d1;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php b/web/core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php index 0bb35f3e2..f386a008e 100644 --- a/web/core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php +++ b/web/core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php @@ -28,8 +28,8 @@ use Drupal\migrate\Plugin\MigrationInterface; * - * channel_machine_name: movies * channel_description: Movies - * ids: - * channel_machine_name: + * ids: + * channel_machine_name: * type: string * @endcode * @@ -38,7 +38,8 @@ use Drupal\migrate\Plugin\MigrationInterface; * @see \Drupal\migrate\Plugin\MigrateSourceInterface * * @MigrateSource( - * id = "embedded_data" + * id = "embedded_data", + * source_module = "migrate" * ) */ class EmbeddedDataSource extends SourcePluginBase { @@ -108,7 +109,7 @@ class EmbeddedDataSource extends SourcePluginBase { /** * {@inheritdoc} */ - public function count() { + public function count($refresh = FALSE) { return count($this->dataRows); }