public function DevelGenerateForm::__construct in Devel 8
Same name and namespace in other branches
- 8.3 devel_generate/src/Form/DevelGenerateForm.php \Drupal\devel_generate\Form\DevelGenerateForm::__construct()
- 8.2 devel_generate/src/Form/DevelGenerateForm.php \Drupal\devel_generate\Form\DevelGenerateForm::__construct()
- 4.x devel_generate/src/Form/DevelGenerateForm.php \Drupal\devel_generate\Form\DevelGenerateForm::__construct()
Constructs a new DevelGenerateForm object.
Parameters
\Drupal\Component\Plugin\PluginManagerInterface $devel_generate_manager: The manager to be used for instantiating plugins.
File
- devel_generate/
src/ Form/ DevelGenerateForm.php, line 29
Class
- DevelGenerateForm
- Defines a form that allows privileged users to generate entities.
Namespace
Drupal\devel_generate\FormCode
public function __construct(PluginManagerInterface $devel_generate_manager) {
$this->develGenerateManager = $devel_generate_manager;
}