function ZfExtensionManagerSfContainer::get
Same name in this branch
- 9 core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php \Drupal\Component\Bridge\ZfExtensionManagerSfContainer::get()
Same name in other branches
- 8.9.x core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php \Drupal\Component\Bridge\ZfExtensionManagerSfContainer::get()
File
-
core/
modules/ aggregator/ src/ ZfExtensionManagerSfContainer.php, line 70
Class
- ZfExtensionManagerSfContainer
- Defines a bridge between the Laminas service manager to Symfony container.
Namespace
Drupal\aggregatorCode
public function get($extension) {
if ($this->standalone && $this->standalone
->has($extension)) {
return $this->standalone
->get($extension);
}
return $this->container
->get($this->prefix . $this->canonicalizeName($extension));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.