* -
* channel_machine_name: movies
* channel_description: Movies
- * ids:
- * channel_machine_name:
+ * ids:
+ * channel_machine_name:
* type: string
* @endcode
*
* @see \Drupal\migrate\Plugin\MigrateSourceInterface
*
* @MigrateSource(
- * id = "embedded_data"
+ * id = "embedded_data",
+ * source_module = "migrate"
* )
*/
class EmbeddedDataSource extends SourcePluginBase {
/**
* {@inheritdoc}
*/
- public function count() {
+ public function count($refresh = FALSE) {
return count($this->dataRows);
}