DrupalKernel::getConfigStorage

protected DrupalKernel::getConfigStorage() Returns the active configuration storage to use during building the container. Return value \Drupal\Core\Config\StorageInterface File core/lib/Drupal/Core/DrupalKernel.php, line 1328 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected function getConfigStorage() { if (!isset($this->configStorage)) { // The active configuration storage may not exist yet; e.g., in the early /

DrupalKernel::getCachedContainerDefinition

public DrupalKernel::getCachedContainerDefinition() Returns the cached container definition - if any. This also allows inspecting a built container for debugging purposes. Return value array|null The cached container definition or NULL if not found in cache. Overrides DrupalKernelInterface::getCachedContainerDefinition File core/lib/Drupal/Core/DrupalKernel.php, line 507 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code public function

DrupalKernel::getAppRoot

public DrupalKernel::getAppRoot() Gets the app root. Return value string Overrides DrupalKernelInterface::getAppRoot File core/lib/Drupal/Core/DrupalKernel.php, line 425 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code public function getAppRoot() { return $this->root; }

DrupalKernel::findSitePath

public static DrupalKernel::findSitePath(Request $request, $require_settings = TRUE, $app_root = NULL) Returns the appropriate site directory for a request. Once the kernel has been created DrupalKernelInterface::getSitePath() is preferred since it gets the statically cached result of this method. Site directories contain all site specific code. This includes settings.php for bootstrap level configuration, file configuration stores, public file storage and site specific modules and themes. Find

DrupalKernel::discoverServiceProviders

public DrupalKernel::discoverServiceProviders() Discovers available serviceProviders. Return value array The available serviceProviders. Overrides DrupalKernelInterface::discoverServiceProviders File core/lib/Drupal/Core/DrupalKernel.php, line 567 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code public function discoverServiceProviders() { $this->serviceYamls = array( 'app' => array(), 'site' => array(), ); $this

DrupalKernel::createFromRequest

public static DrupalKernel::createFromRequest(Request $request, $class_loader, $environment, $allow_dumping = TRUE, $app_root = NULL) Create a DrupalKernel object from a request. Parameters \Symfony\Component\HttpFoundation\Request $request: The request. $class_loader: The class loader. Normally Composer's ClassLoader, as included by the front controller, but may also be decorated; e.g., \Symfony\Component\ClassLoader\ApcClassLoader. string $environment: String indicating the environment, e.g.

DrupalKernel::compileContainer

protected DrupalKernel::compileContainer() Compiles a new service container. Return value ContainerBuilder The compiled service container File core/lib/Drupal/Core/DrupalKernel.php, line 1166 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected function compileContainer() { // We are forcing a container build so it is reasonable to assume that the // calling method knows something about the system has changed requiring the

DrupalKernel::classLoaderAddMultiplePsr4

protected DrupalKernel::classLoaderAddMultiplePsr4(array $namespaces = array(), $class_loader = NULL) Registers a list of namespaces with PSR-4 directories for class loading. Parameters array $namespaces: Array where each key is a namespace like 'Drupal\system', and each value is either a PSR-4 base directory, or an array of PSR-4 base directories associated with this namespace. object $class_loader: The class loader. Normally \Composer\Autoload\ClassLoader, as included by the front controller

DrupalKernel::cacheDrupalContainer

protected DrupalKernel::cacheDrupalContainer(array $container_definition) Stores the container definition in a cache. Parameters array $container_definition: The container definition to cache. Return value bool TRUE if the container was successfully cached. File core/lib/Drupal/Core/DrupalKernel.php, line 1299 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected function cacheDrupalContainer(array $container_definition) { $sav

DrupalKernel::bootEnvironment

public static DrupalKernel::bootEnvironment($app_root = NULL) Setup a consistent PHP environment. This method sets PHP environment options we want to be sure are set correctly for security or just saneness. Parameters string $app_root: (optional) The path to the application root as a string. If not supplied, the application root will be computed. File core/lib/Drupal/Core/DrupalKernel.php, line 927 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal