function DevelGenerateCommands::blockContent

Create Block content blocks.

File

devel_generate/src/Drush/Commands/DevelGenerateCommands.php, line 201

Class

DevelGenerateCommands
Provide Drush commands for all the core Devel Generate plugins.

Namespace

Drupal\devel_generate\Drush\Commands

Code

public function blockContent(int $num = 50, array $options = [
    'kill' => FALSE,
    'block_types' => 'basic',
    'feedback' => 1000,
    'skip-fields' => self::REQ,
    'base-fields' => self::REQ,
    'languages' => self::REQ,
    'translations' => self::REQ,
    'add-type-label' => FALSE,
    'reusable' => TRUE,
]) : void {
    $this->generate();
}