public function ZfExtensionManagerSfContainer::has in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php \Drupal\Component\Bridge\ZfExtensionManagerSfContainer::has()
File
- core/
lib/ Drupal/ Component/ Bridge/ ZfExtensionManagerSfContainer.php, line 86
Class
- ZfExtensionManagerSfContainer
- Defines a bridge between the Laminas service manager to Symfony container.
Namespace
Drupal\Component\BridgeCode
public function has($extension) {
if ($this->container
->has($this->prefix . $this
->canonicalizeName($extension))) {
return TRUE;
}
return $this->standalone && $this->standalone
->has($extension);
}