DrupalKernelTrait
trait DrupalKernelTrait (View source)
Common functionality for overridden kernels.
Properties
protected ServiceModifierInterface[] | $serviceModifiers | ||
protected | $serviceFinder |
Methods
addServiceModifier(ServiceModifierInterface $serviceModifier)
Add a service modifier to the container builder.
getContainerBuilder()
No description
ContainerInterface
initializeContainer()
Initializes the service container.
shouldDrushInvalidateContainer()
No description
discoverServiceProviders()
{@inheritdoc}
Details
addServiceModifier(ServiceModifierInterface $serviceModifier)
Add a service modifier to the container builder.
The container is not compiled until $kernel->boot(), so there is a chance for clients to add compiler passes et. al. before then.
protected
getContainerBuilder()
No description
protected ContainerInterface
initializeContainer()
Initializes the service container.
protected
shouldDrushInvalidateContainer()
No description
discoverServiceProviders()
{@inheritdoc}