function BlockContentDevelGenerate::isBatch

Determines if the content should be generated in batch mode.

2 calls to BlockContentDevelGenerate::isBatch()
BlockContentDevelGenerate::generateElements in devel_generate/src/Plugin/DevelGenerate/BlockContentDevelGenerate.php
Business logic relating with each DevelGenerate plugin.
BlockContentDevelGenerate::validateDrushParams in devel_generate/src/Plugin/DevelGenerate/BlockContentDevelGenerate.php
Responsible for validating Drush params.

File

devel_generate/src/Plugin/DevelGenerate/BlockContentDevelGenerate.php, line 476

Class

BlockContentDevelGenerate
Provides a BlockContentDevelGenerate plugin.

Namespace

Drupal\devel_generate\Plugin\DevelGenerate

Code

protected function isBatch($content_count) : bool {
    return $content_count >= 50;
}