public function External::__construct in Freelinking 8.3
Same name and namespace in other branches
- 4.0.x src/Plugin/freelinking/External.php \Drupal\freelinking\Plugin\freelinking\External::__construct()
Initialize method.
Parameters
array $configuration: The plugin configuration array.
string $plugin_id: The plugin ID.
mixed $plugin_definition: The plugin definition array.
\GuzzleHttp\Client $client: A configured HTTP Request client.
Overrides PluginBase::__construct
File
- src/
Plugin/ freelinking/ External.php, line 49
Class
- External
- Freelinking external link plugin.
Namespace
Drupal\freelinking\Plugin\freelinkingCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, Client $client) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->client = $client;
}