DrupalKernel::getSitePath

public DrupalKernel::getSitePath() Get the site path. Return value string The current site path. Overrides DrupalKernelInterface::getSitePath File core/lib/Drupal/Core/DrupalKernel.php, line 418 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code public function getSitePath() { return $this->sitePath; }

DrupalKernel::getServicesToPersist

protected DrupalKernel::getServicesToPersist(ContainerInterface $container) Returns service instances to persist from an old container to a new one. File core/lib/Drupal/Core/DrupalKernel.php, line 1082 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected function getServicesToPersist(ContainerInterface $container) { $persist = array(); foreach ($container->getParameter('persist_ids') as $id) { // It's pointless to pers

DrupalKernel::getServiceProviders

public DrupalKernel::getServiceProviders($origin) Returns all registered service providers. Parameters string $origin: The origin for which to return service providers; one of 'app' or 'site'. Return value array An associative array of ServiceProvider objects, keyed by name. Overrides DrupalKernelInterface::getServiceProviders File core/lib/Drupal/Core/DrupalKernel.php, line 615 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code public

DrupalKernel::getModulesParameter

protected DrupalKernel::getModulesParameter() Returns an array of Extension class parameters for all enabled modules. Return value array File core/lib/Drupal/Core/DrupalKernel.php, line 1347 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected function getModulesParameter() { $extensions = array(); foreach ($this->moduleList as $name => $weight) { if ($data = $this->moduleData($name)) { $extensions[$name] =

DrupalKernel::getModuleFileNames

protected DrupalKernel::getModuleFileNames() Gets the file name for each enabled module. Return value array Array where each key is a module name, and each value is a path to the respective *.info.yml file. File core/lib/Drupal/Core/DrupalKernel.php, line 1368 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected function getModuleFileNames() { $filenames = array(); foreach ($this->moduleList as $module => $weight) {

DrupalKernel::getKernelParameters

protected DrupalKernel::getKernelParameters() Returns the kernel parameters. Return value array An array of kernel parameters File core/lib/Drupal/Core/DrupalKernel.php, line 819 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected function getKernelParameters() { return array( 'kernel.environment' => $this->environment, ); }

DrupalKernel::getHttpKernel

protected DrupalKernel::getHttpKernel() Gets a http kernel from the container Return value \Symfony\Component\HttpKernel\HttpKernelInterface File core/lib/Drupal/Core/DrupalKernel.php, line 1319 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected function getHttpKernel() { return $this->container->get('http_kernel'); }

DrupalKernel::getContainerCacheKey

protected DrupalKernel::getContainerCacheKey() Returns the container cache key based on the environment. The 'environment' consists of: The kernel environment string. The Drupal version constant. The deployment identifier from settings.php. This allows custom deployments to force a container rebuild. The operating system running PHP. This allows compiler passes to optimize services for different operating systems. The paths to any additional container YAMLs from settings.php. Return value st

DrupalKernel::getContainerBuilder

protected DrupalKernel::getContainerBuilder() Gets a new ContainerBuilder instance used to build the service container. Return value ContainerBuilder File core/lib/Drupal/Core/DrupalKernel.php, line 1286 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected function getContainerBuilder() { return new ContainerBuilder(new ParameterBag($this->getKernelParameters())); }

DrupalKernel::getContainer

public DrupalKernel::getContainer() Gets the current container. Return value \Symfony\Component\DependencyInjection\ContainerInterface A ContainerInterface instance. Overrides DrupalKernelInterface::getContainer File core/lib/Drupal/Core/DrupalKernel.php, line 485 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code public function getContainer() { return $this->container; }