function BlockContentDevelGenerate::generateElements

Overrides DevelGenerateBase::generateElements

File

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

Class

BlockContentDevelGenerate
Provides a BlockContentDevelGenerate plugin.

Namespace

Drupal\devel_generate\Plugin\DevelGenerate

Code

protected function generateElements(array $values) : void {
    if ($this->isBatch($values['num'])) {
        $this->generateBatchContent($values);
    }
    else {
        $this->generateContent($values);
    }
}