public function ServiceProviderPluginManager::__construct in Service Container 7.2
Same name and namespace in other branches
- 7 src/DependencyInjection/ServiceProviderPluginManager.php \Drupal\service_container\DependencyInjection\ServiceProviderPluginManager::__construct()
Constructs a ServiceProviderPluginManager object.
This uses ctools for discovery of service_container ServiceProvider objects.
@codeCoverageIgnore
Overrides DefaultPluginManager::__construct
File
- src/
DependencyInjection/ ServiceProviderPluginManager.php, line 24 - Contains \Drupal\service_container\DependencyInjection\ServiceProviderPluginManager
Class
- ServiceProviderPluginManager
- Defines a plugin manager used for discovering container service definitions.
Namespace
Drupal\service_container\DependencyInjectionCode
public function __construct() {
$discovery = new CToolsPluginDiscovery(array(
'owner' => 'service_container',
'type' => 'ServiceProvider',
));
parent::__construct($discovery);
}