You are here

public function TagSetInterface::hasTag in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x src/Entity/TagSetInterface.php \Drupal\xbbcode\Entity\TagSetInterface::hasTag()

Check if a particular tag plugin is active.

Parameters

string $plugin_id: Plugin ID.

Return value

bool TRUE if the plugin is active in this tag set.

1 method overrides TagSetInterface::hasTag()
TagSet::hasTag in src/Entity/TagSet.php
Check if a particular tag plugin is active.

File

src/Entity/TagSetInterface.php, line 33

Class

TagSetInterface
Defines the interface for custom tag entities.

Namespace

Drupal\xbbcode\Entity

Code

public function hasTag($plugin_id) : bool;