You are here

public function RemotePostYamlFormHandler::__construct in YAML Form 8

Constructs a \Drupal\Component\Plugin\PluginBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides YamlFormHandlerBase::__construct

File

src/Plugin/YamlFormHandler/RemotePostYamlFormHandler.php, line 55

Class

RemotePostYamlFormHandler
Form submission remote post handler.

Namespace

Drupal\yamlform\Plugin\YamlFormHandler

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, LoggerInterface $logger, ModuleHandlerInterface $module_handler, ClientInterface $http_client, YamlFormTokenManagerInterface $token_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $logger);
  $this->moduleHandler = $module_handler;
  $this->httpClient = $http_client;
  $this->tokenManager = $token_manager;
}