You are here

public function BlockUploadBlock::__construct in Block Upload 8

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/BlockUploadBlock.php, line 30

Class

BlockUploadBlock
Provides a Custom block.

Namespace

Drupal\block_upload\Plugin\Block

Code

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