public function OrganigramsBlocks::__construct in Organigrams 8.2
Same name in this branch
- 8.2 src/Plugin/Derivative/OrganigramsBlocks.php \Drupal\organigrams\Plugin\Derivative\OrganigramsBlocks::__construct()
- 8.2 src/Plugin/Block/OrganigramsBlocks.php \Drupal\organigrams\Plugin\Block\OrganigramsBlocks::__construct()
Same name and namespace in other branches
- 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\DerivativeCode
public function __construct(EntityStorageInterface $taxonomy_storage) {
$this->taxonomyStorage = $taxonomy_storage;
}