You are here

public function BlocktabsBlock::__construct in Block Tabs 8

Same name in this branch
  1. 8 src/Plugin/Derivative/BlocktabsBlock.php \Drupal\blocktabs\Plugin\Derivative\BlocktabsBlock::__construct()
  2. 8 src/Plugin/Block/BlocktabsBlock.php \Drupal\blocktabs\Plugin\Block\BlocktabsBlock::__construct()

Constructs new SystemMenuBlock.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The entity storage.

File

src/Plugin/Derivative/BlocktabsBlock.php, line 30

Class

BlocktabsBlock
Provides block plugin definitions for blocktabs.

Namespace

Drupal\blocktabs\Plugin\Derivative

Code

public function __construct(EntityStorageInterface $entity_storage) {
  $this->entityStorage = $entity_storage;
}