You are here

public function Framework::develGenerate in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::develGenerate()
  2. 7.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::develGenerate()

Use devel generate to generate dummy content.

Parameters

array $info: Can contain: entity_type: user|node node_types: array users: array of users who can own a node title_legth num: int kill: bool.

Overrides FrameworkInterface::develGenerate

1 method overrides Framework::develGenerate()
Drupal8::develGenerate in api/src/Framework/Drupal8.php
Use devel generate to generate dummy content.

File

api/src/Framework/Framework.php, line 102

Class

Framework
The entry point for the framework.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function develGenerate(array $info) {
  return $this
    ->implementor()
    ->develGenerate($info);
}