public function TagPluginCollection::has in Extensible BBCode 4.0.x
Same name and namespace in other branches
- 8.3 src/TagPluginCollection.php \Drupal\xbbcode\TagPluginCollection::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.
Overrides LazyPluginCollection::has
File
- src/
TagPluginCollection.php, line 165
Class
- TagPluginCollection
- A collection of tag plugins.
Namespace
Drupal\xbbcodeCode
public function has($instance_id) : bool {
// This method is only overridden to hint the return type.
return (bool) parent::has($instance_id);
}