function 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 116
Class
- EmbeddedDataSource
- Allows source data to be defined in the configuration of the source plugin.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
public function count($refresh = FALSE) : int {
// We do not want this source plugin to have a cacheable count.
// @see \Drupal\migrate_cache_counts_test\Plugin\migrate\source\CacheableEmbeddedDataSource
return count($this->dataRows);
}