You are here

public function YamlFormSubmissionViewBuilder::__construct in YAML Form 8

Constructs a new YamlFormSubmissionViewBuilder.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Utility\Token $token: The token handler.

\Drupal\yamlform\YamlFormRequestInterface $yamlform_request: The form request handler.

\Drupal\yamlform\YamlFormHandlerManagerInterface $handler_manager: The form handler manager service.

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

Overrides EntityViewBuilder::__construct

File

src/YamlFormSubmissionViewBuilder.php, line 75

Class

YamlFormSubmissionViewBuilder
Render controller for form submissions.

Namespace

Drupal\yamlform

Code

public function __construct(EntityTypeInterface $entity_type, EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager, ConfigFactoryInterface $config_factory, Token $token, YamlFormRequestInterface $yamlform_request, YamlFormHandlerManagerInterface $handler_manager, YamlFormElementManagerInterface $element_manager) {
  parent::__construct($entity_type, $entity_manager, $language_manager);
  $this->configFactory = $config_factory;
  $this->token = $token;
  $this->requestManager = $yamlform_request;
  $this->handlerManager = $handler_manager;
  $this->elementManager = $element_manager;
}