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.

Hierarchy

  • interface \Symfony\Component\HttpKernel\HttpKernelInterface; interface \Symfony\Component\DependencyInjection\ContainerAwareInterface

File

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

Namespace

Drupal\Core

Members

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
doc_Drupal
2016-10-29 09:03:05
Comments
Leave a Comment

Please login to continue.