public function StaticGeneratorForm::__construct in Tome 8
StaticGeneratorForm constructor.
Parameters
\Drupal\tome_static\StaticGeneratorInterface $static: The static generator.
\Drupal\Core\State\StateInterface $state: The state system.
\Drupal\tome_static\RequestPreparer $request_preparer: The request preparer.
File
- modules/
tome_static/ src/ Form/ StaticGeneratorForm.php, line 57
Class
- StaticGeneratorForm
- Contains a form for initializing a static build.
Namespace
Drupal\tome_static\FormCode
public function __construct(StaticGeneratorInterface $static, StateInterface $state, RequestPreparer $request_preparer) {
$this->static = $static;
$this->state = $state;
$this->requestPreparer = $request_preparer;
}