You are here

public function DevelGenerateBase::generate in Devel 8

Same name and namespace in other branches
  1. 8.3 devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::generate()
  2. 8.2 devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::generate()
  3. 4.x devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::generate()

Execute the instructions in common for all DevelGenerate plugin

Parameters

array $values: The input values from the settings form.

Overrides DevelGenerateBaseInterface::generate

File

devel_generate/src/DevelGenerateBase.php, line 73

Class

DevelGenerateBase
Provides a base DevelGenerate plugin implementation.

Namespace

Drupal\devel_generate

Code

public function generate(array $values) {
  $this
    ->generateElements($values);
  $this
    ->setMessage('Generate process complete.');
}