public function MetatagViewsCachePluginManager::hasDefinition in Metatag 8
Indicates if a specific plugin definition exists.
Parameters
string $plugin_id: A plugin ID.
Return value
bool TRUE if the definition exists, FALSE otherwise.
Overrides DiscoveryInterface::hasDefinition
File
- metatag_views/
src/ MetatagViewsCachePluginManager.php, line 102
Class
Namespace
Drupal\metatag_viewsCode
public function hasDefinition($plugin_id) {
return $this->viewsPluginManager
->hasDefinition($plugin_id);
}