You are here

public function OrganigramsBlocks::__construct in Organigrams 8.2

Same name in this branch
  1. 8.2 src/Plugin/Derivative/OrganigramsBlocks.php \Drupal\organigrams\Plugin\Derivative\OrganigramsBlocks::__construct()
  2. 8.2 src/Plugin/Block/OrganigramsBlocks.php \Drupal\organigrams\Plugin\Block\OrganigramsBlocks::__construct()
Same name and namespace in other branches
  1. 8 src/Plugin/Derivative/OrganigramsBlocks.php \Drupal\organigrams\Plugin\Derivative\OrganigramsBlocks::__construct()

Constructs new OrganigramsBlocks.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $taxonomy_storage: The taxonomy storage.

File

src/Plugin/Derivative/OrganigramsBlocks.php, line 32

Class

OrganigramsBlocks
Provides block plugin definitions for organigrams.

Namespace

Drupal\organigrams\Plugin\Derivative

Code

public function __construct(EntityStorageInterface $taxonomy_storage) {
  $this->taxonomyStorage = $taxonomy_storage;
}