You are here

public function BlockContentPermissionsAddPageController::__construct in Block Content Permissions 8

Override.

Add AccountInterface.

Overrides BlockContentController::__construct

File

src/Controller/BlockContentPermissionsAddPageController.php, line 47

Class

BlockContentPermissionsAddPageController
Controller for the block content add page.

Namespace

Drupal\block_content_permissions\Controller

Code

public function __construct(EntityStorageInterface $block_content_storage, EntityStorageInterface $block_content_type_storage, ThemeHandlerInterface $theme_handler, AccountInterface $account) {
  $this->blockContentStorage = $block_content_storage;
  $this->blockContentTypeStorage = $block_content_type_storage;
  $this->themeHandler = $theme_handler;
  $this->account = $account;
}