You are here

public function LoginTobogganloggedBlock::__construct in LoginToboggan 8

Class constructor.

Parameters

array $configuration: Config service.

string $plugin_id: Plugin ID.

mixed $plugin_definition: Plugin definition.

\Drupal\Core\Session\AccountProxyInterface $account: Current user account.

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/LoginTobogganloggedBlock.php, line 66

Class

LoginTobogganloggedBlock
Provides a 'LoginToboggan logged' block.

Namespace

Drupal\logintoboggan\Plugin\Block

Code

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