function LazyContextRepository::__construct
Constructs a LazyContextRepository object.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: The current service container.
string[] $context_provider_service_ids: The set of the available context provider service IDs.
File
- 
              core/lib/ Drupal/ Core/ Plugin/ Context/ LazyContextRepository.php, line 42 
Class
- LazyContextRepository
- Provides a context repository which uses context provider services.
Namespace
Drupal\Core\Plugin\ContextCode
public function __construct(ContainerInterface $container, array $context_provider_service_ids) {
  $this->container = $container;
  $this->contextProviderServiceIDs = $context_provider_service_ids;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
