ServiceContainerAnnotationDiscoveryServiceProvider.php in Service Container 7.2
File
modules/providers/service_container_annotation_discovery/src/ServiceContainer/ServiceProvider/ServiceContainerAnnotationDiscoveryServiceProvider.php
View source
<?php
namespace Drupal\service_container_annotation_discovery\ServiceContainer\ServiceProvider;
use Drupal\service_container\ServiceContainer\ServiceProvider\ServiceContainerServiceProvider;
class ServiceContainerAnnotationDiscoveryServiceProvider extends ServiceContainerServiceProvider {
public function getContainerDefinition() {
$services = array();
$parameters['service_container.plugin_managers'] = array();
$parameters['service_container.plugin_manager_types'] = array(
'annotated' => '\\Drupal\\service_container_annotation_discovery\\Plugin\\Discovery\\AnnotatedClassDiscovery',
);
return array(
'parameters' => $parameters,
'services' => $services,
);
}
}