public function Builtin::__construct in Freelinking 4.0.x
Same name and namespace in other branches
- 8.3 src/Plugin/freelinking/Builtin.php \Drupal\freelinking\Plugin\freelinking\Builtin::__construct()
Initialize method.
Parameters
array $configuration: The configuration array.
string $plugin_id: The plugin ID.
array $plugin_definition: The plugin definition array.
\Drupal\Core\Session\AccountProxyInterface $account: The current user account.
Overrides PluginBase::__construct
File
- src/
Plugin/ freelinking/ Builtin.php, line 42
Class
- Builtin
- Freelinking builtin plugin.
Namespace
Drupal\freelinking\Plugin\freelinkingCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, AccountProxyInterface $account) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->account = $account;
}