public function WSConnectorSimpleHTTPWithLangReplacement::__construct in Web Service Data 8
Same name and namespace in other branches
- 2.0.x src/Plugin/WSConnector/WSConnectorSimpleHTTPWithLangReplacement.php \Drupal\wsdata\Plugin\WSConnector\WSConnectorSimpleHTTPWithLangReplacement::__construct()
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 WSConnectorSimpleHTTP::__construct
File
- src/
Plugin/ WSConnector/ WSConnectorSimpleHTTPWithLangReplacement.php, line 25
Class
- WSConnectorSimpleHTTPWithLangReplacement
- HTTP Connector.
Namespace
Drupal\wsdata\Plugin\WSConnectorCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, Client $http_client, Token $token, LanguageManagerInterface $language_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $http_client, $token, $language_manager);
$this->http_client = $http_client;
$this->token = $token;
$this->language_manager = $language_manager;
}