You are here

public function MethodPluginManager::hasMethodPlugin in Persistent URL 8

Parameters

string $id:

Return value

boolen

Overrides MethodPluginManagerInterface::hasMethodPlugin

File

src/Plugin/MethodPluginManager.php, line 61

Class

MethodPluginManager

Namespace

Drupal\purl\Plugin

Code

public function hasMethodPlugin($id) {
  return isset($this->methodPlugins[$id]) || $this
    ->hasDefinition($id);
}