You are here

public function TagSetForm::__construct in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x src/Form/TagSetForm.php \Drupal\xbbcode\Form\TagSetForm::__construct()

Constructs a new FilterFormatFormBase.

Parameters

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

\Drupal\Core\Entity\EntityStorageInterface $formatStorage: The format storage.

\Drupal\xbbcode\TagPluginManager $pluginManager: The tag plugin manager.

File

src/Form/TagSetForm.php, line 55

Class

TagSetForm
Base form for tag sets.

Namespace

Drupal\xbbcode\Form

Code

public function __construct(EntityStorageInterface $tagStorage, EntityStorageInterface $formatStorage, TagPluginManager $pluginManager) {
  $this->tagStorage = $tagStorage;
  $this->formatStorage = $formatStorage;
  $this->pluginManager = $pluginManager;
}