public function DevelGenerateBase::generate in Devel 8
Same name and namespace in other branches
- 8.3 devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::generate()
- 8.2 devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::generate()
- 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_generateCode
public function generate(array $values) {
$this
->generateElements($values);
$this
->setMessage('Generate process complete.');
}