/Drupal 8

interface DrupalKernelInterface

The interface for DrupalKernel, the core of Drupal.

This interface extends Symfony's KernelInterface and adds methods for responding to modules being enabled or disabled during its lifetime.



core/lib/Drupal/Core/DrupalKernelInterface.php, line 15




Name Modifiers Type Description
ContainerAwareInterface::setContainer public function Sets the container.
DrupalKernelInterface::boot public function Boots the current kernel.
DrupalKernelInterface::discoverServiceProviders public function Discovers available serviceProviders.
DrupalKernelInterface::getAppRoot public function Gets the app root.
DrupalKernelInterface::getCachedContainerDefinition public function Returns the cached container definition - if any.
DrupalKernelInterface::getContainer public function Gets the current container.
DrupalKernelInterface::getServiceProviders public function Returns all registered service providers.
DrupalKernelInterface::getSitePath public function Get the site path.
DrupalKernelInterface::invalidateContainer public function Invalidate the service container for the next request.
DrupalKernelInterface::loadLegacyIncludes public function Helper method that loads legacy Drupal include files.
DrupalKernelInterface::preHandle public function Helper method that does request related initialization.
DrupalKernelInterface::prepareLegacyRequest Deprecated public function Prepare the kernel for handling a request without handling the request.
DrupalKernelInterface::rebuildContainer public function Force a container rebuild.
DrupalKernelInterface::setSitePath public function Set the current site path.
DrupalKernelInterface::shutdown public function Shuts down the kernel.
DrupalKernelInterface::updateModules public function Updates the kernel's list of modules to the new list.
HttpKernelInterface::handle public function Handles a Request to convert it to a Response.
HttpKernelInterface::MASTER_REQUEST constant
HttpKernelInterface::SUB_REQUEST constant

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.