Overrides LoaderInterface::exists
public function exists($name) : bool { if (!preg_match('/^[a-zA-Z][a-zA-Z0-9:_-]*[a-zA-Z0-9]?$/', $name)) { return FALSE; } try { $this->pluginManager ->find($name); return TRUE; } catch (ComponentNotFoundException $e) { Error::logException($this->logger, $e); return FALSE; } }