You are here

public function YamlFormEntityForm::__construct in YAML Form 8

Constructs a new YamlFormUiElementFormBase.

Parameters

\Drupal\Core\Render\RendererInterface $renderer: The renderer.

\Drupal\yamlform\YamlFormElementManagerInterface $element_manager: The form element manager.

\Drupal\yamlform\YamlFormEntityElementsValidator $elements_validator: Form element validator.

\Drupal\yamlform\YamlFormTokenManagerInterface $token_manager: The token manager.

File

src/YamlFormEntityForm.php, line 58

Class

YamlFormEntityForm
Base for controller for form.

Namespace

Drupal\yamlform

Code

public function __construct(RendererInterface $renderer, YamlFormElementManagerInterface $element_manager, YamlFormEntityElementsValidator $elements_validator, YamlFormTokenManagerInterface $token_manager) {
  $this->renderer = $renderer;
  $this->elementManager = $element_manager;
  $this->elementsValidator = $elements_validator;
  $this->tokenManager = $token_manager;
}