You are here

public function TagPluginDeriver::__construct in Extensible BBCode 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/Derivative/TagPluginDeriver.php \Drupal\xbbcode\Plugin\Derivative\TagPluginDeriver::__construct()

Constructs a Deriver.

Parameters

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

File

src/Plugin/Derivative/TagPluginDeriver.php, line 28

Class

TagPluginDeriver
Provide a tag plugin for each XBBCodeCustom entity.

Namespace

Drupal\xbbcode\Plugin\Derivative

Code

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