function EmbeddedDataSource::count

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php \Drupal\migrate\Plugin\migrate\source\EmbeddedDataSource::count()
  2. 10 core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php \Drupal\migrate\Plugin\migrate\source\EmbeddedDataSource::count()
  3. 11.x core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php \Drupal\migrate\Plugin\migrate\source\EmbeddedDataSource::count()

Overrides SourcePluginBase::count

1 call to EmbeddedDataSource::count()
EmbeddedDataSource::fields in core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php
Returns available fields on the source.

File

core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php, line 112

Class

EmbeddedDataSource
Allows source data to be defined in the configuration of the source plugin.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

public function count($refresh = FALSE) {
    return count($this->dataRows);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.