You are here

public function Builtin::__construct in Freelinking 8.3

Same name and namespace in other branches
  1. 4.0.x 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\freelinking

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, AccountProxyInterface $account) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->account = $account;
}