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.

Hierarchy

Expanded class hierarchy of DrupalKernelInterface

All classes that implement DrupalKernelInterface

File

drupal/core/lib/Drupal/Core/DrupalKernelInterface.php, line 18
Definition of Drupal\Core\DrupalKernelInterface.

Namespace

Drupal\Core
View source
interface DrupalKernelInterface extends KernelInterface {

  /**
   * Updates the kernel's list of modules to the new list.
   *
   * The kernel needs to update its bundle list and container to match the new
   * list.
   *
   * @param array $module_list
   *   The new list of modules.
   * @param array $module_filenames
   *   List of module filenames, keyed by module name.
   */
  public function updateModules(array $module_list, array $module_filenames = array());

}

Members

Namesort descending Modifiers Type Description Overrides
DrupalKernelInterface::updateModules public function Updates the kernel's list of modules to the new list. 1
HttpKernelInterface::handle public function Handles a Request to convert it to a Response. 5
HttpKernelInterface::MASTER_REQUEST constant
HttpKernelInterface::SUB_REQUEST constant
KernelInterface::boot public function Boots the current kernel. 1
KernelInterface::getBundle public function Returns a bundle and optionally its descendants by its name. 1
KernelInterface::getBundles public function Gets the registered bundle instances. 1
KernelInterface::getCacheDir public function Gets the cache directory. 1
KernelInterface::getCharset public function Gets the charset of the application. 1
KernelInterface::getContainer public function Gets the current container. 1
KernelInterface::getEnvironment public function Gets the environment. 1
KernelInterface::getLogDir public function Gets the log directory. 1
KernelInterface::getName public function Gets the name of the kernel 1
KernelInterface::getRootDir public function Gets the application root dir. 1
KernelInterface::getStartTime public function Gets the request start time (not available if debug is disabled). 1
KernelInterface::isClassInActiveBundle public function Checks if a given class name belongs to an active bundle. 1
KernelInterface::isDebug public function Checks if debug mode is enabled. 1
KernelInterface::locateResource public function Returns the file path for a given resource. 1
KernelInterface::registerBundles public function Returns an array of bundles to registers. 4
KernelInterface::registerContainerConfiguration public function Loads the container configuration 4
KernelInterface::shutdown public function Shutdowns the kernel. 1