You are here

public function PluginCollectionInterface::has in Extensible BBCode 8.3

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

Determines if a plugin instance exists.

Parameters

string $instance_id: The ID of the plugin instance to check.

Return value

bool TRUE if the plugin instance exists, FALSE otherwise.

File

src/PluginCollectionInterface.php, line 26

Class

PluginCollectionInterface
Common methods to access a plugin collection.

Namespace

Drupal\xbbcode

Code

public function has($instance_id) : bool;