function 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 114

Class

DevelGenerateBase
Provides a base DevelGenerate plugin implementation.

Namespace

Drupal\devel_generate

Code

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