class ServiceContainerAnnotationDiscoveryServiceProvider in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_annotation_discovery/src/ServiceContainer/ServiceProvider/ServiceContainerAnnotationDiscoveryServiceProvider.php \Drupal\service_container_annotation_discovery\ServiceContainer\ServiceProvider\ServiceContainerAnnotationDiscoveryServiceProvider
Provides render cache service definitions.
@codeCoverageIgnore
Hierarchy
- class \Drupal\service_container\ServiceContainer\ServiceProvider\ServiceContainerServiceProvider implements ServiceProviderInterface
- class \Drupal\service_container_annotation_discovery\ServiceContainer\ServiceProvider\ServiceContainerAnnotationDiscoveryServiceProvider
Expanded class hierarchy of ServiceContainerAnnotationDiscoveryServiceProvider
File
- modules/
providers/ service_container_annotation_discovery/ src/ ServiceContainer/ ServiceProvider/ ServiceContainerAnnotationDiscoveryServiceProvider.php, line 18 - Contains \Drupal\service_container_annotation_discovery\ServiceContainer\ServiceProvider\ServiceContainerAnnotationDiscoveryServiceProvider
Namespace
Drupal\service_container_annotation_discovery\ServiceContainer\ServiceProviderView source
class ServiceContainerAnnotationDiscoveryServiceProvider extends ServiceContainerServiceProvider {
/**
* {@inheritdoc}
*/
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,
);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ServiceContainerAnnotationDiscoveryServiceProvider:: |
public | function |
Gets a service container definition. Overrides ServiceContainerServiceProvider:: |
|
ServiceContainerServiceProvider:: |
public | function |
Allows to alter the container definition. Overrides ServiceProviderInterface:: |
|
ServiceContainerServiceProvider:: |
public | function | Return the full list of plugin type info for all plugin types registered in the current system. | |
ServiceContainerServiceProvider:: |
protected | function | Gets plugin manager definition to make it simpler to register plugins. | |
ServiceContainerServiceProvider:: |
public | function | Determines whether a given module exists. | |
ServiceContainerServiceProvider:: |
public | function | Processes plugin managers of varying types and registers them in the container based on the given discovery class. | |
ServiceContainerServiceProvider:: |
public | function | Register aliases for the service. | |
ServiceContainerServiceProvider:: |
public | function | Automatically register all annotated Plugins. | |
ServiceContainerServiceProvider:: |
public | function | Automatically register all ctools plugins of the given types. |