You are here

public function ZfExtensionManagerSfContainer::has in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php \Drupal\Component\Bridge\ZfExtensionManagerSfContainer::has()

File

lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php, line 75
Contains \Drupal\Component\Bridge\ZfExtensionManagerSfContainer.

Class

ZfExtensionManagerSfContainer
Defines a bridge between the ZF2 service manager to Symfony container.

Namespace

Drupal\Component\Bridge

Code

public function has($extension) {
  return $this->container
    ->has($this->prefix . $this
    ->canonicalizeName($extension));
}