function CacheableEmbeddedDataSource::doCount

Same name in other branches
  1. 9 core/modules/migrate/tests/modules/migrate_cache_counts_test/src/Plugin/migrate/source/CacheableEmbeddedDataSource.php \Drupal\migrate_cache_counts_test\Plugin\migrate\source\CacheableEmbeddedDataSource::doCount()
  2. 10 core/modules/migrate/tests/modules/migrate_cache_counts_test/src/Plugin/migrate/source/CacheableEmbeddedDataSource.php \Drupal\migrate_cache_counts_test\Plugin\migrate\source\CacheableEmbeddedDataSource::doCount()

Overrides SourcePluginBase::doCount

File

core/modules/migrate/tests/modules/migrate_cache_counts_test/src/Plugin/migrate/source/CacheableEmbeddedDataSource.php, line 30

Class

CacheableEmbeddedDataSource
A copy of embedded_data which allows caching the count.

Namespace

Drupal\migrate_cache_counts_test\Plugin\migrate\source

Code

protected function doCount() {
    return parent::count(TRUE);
}

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