You are here

class ServiceContainerAnnotationDiscoveryServiceProvider in Service Container 7

Same name and namespace in other branches
  1. 7.2 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

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\ServiceProvider
View 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

Namesort descending Modifiers Type Description Overrides
ServiceContainerAnnotationDiscoveryServiceProvider::getContainerDefinition public function Gets a service container definition. Overrides ServiceContainerServiceProvider::getContainerDefinition
ServiceContainerServiceProvider::alterContainerDefinition public function Allows to alter the container definition. Overrides ServiceProviderInterface::alterContainerDefinition
ServiceContainerServiceProvider::cToolsGetTypes public function Return the full list of plugin type info for all plugin types registered in the current system.
ServiceContainerServiceProvider::getPluginManagerDefinition protected function Gets plugin manager definition to make it simpler to register plugins.
ServiceContainerServiceProvider::moduleExists public function Determines whether a given module exists.
ServiceContainerServiceProvider::processPluginManagers public function Processes plugin managers of varying types and registers them in the container based on the given discovery class.
ServiceContainerServiceProvider::registerAliasServices public function Register aliases for the service.
ServiceContainerServiceProvider::registerAnnotatedPluginTypes public function Automatically register all annotated Plugins.
ServiceContainerServiceProvider::registerCToolsPluginTypes public function Automatically register all ctools plugins of the given types.