You are here

protected property StubSourceGeneratorPlugin::$cacheCounts in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/tests/src/Unit/MigrateSourceTest.php \Drupal\Tests\migrate\Unit\StubSourceGeneratorPlugin::cacheCounts
  2. 9 core/modules/migrate/tests/src/Unit/MigrateSourceTest.php \Drupal\Tests\migrate\Unit\StubSourceGeneratorPlugin::cacheCounts

Whether this instance should cache the source count.

Type: bool

Overrides SourcePluginBase::$cacheCounts

File

core/modules/migrate/tests/src/Unit/MigrateSourceTest.php, line 516
Contains \Drupal\Tests\migrate\Unit\MigrateSourceTest.

Class

StubSourceGeneratorPlugin
Stubbed source plugin with a generator as iterator. Also it overwrites the $skipCount, $cacheCounts and $trackChanges properties.

Namespace

Drupal\Tests\migrate\Unit

Code

protected $cacheCounts = TRUE;