DrupalKernel::boot

public DrupalKernel::boot() Boots the current kernel. Return value $this Overrides DrupalKernelInterface::boot File core/lib/Drupal/Core/DrupalKernel.php, line 432 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code public function boot() { if ($this->booted) { return $this; } // Ensure that findSitePath is set. if (!$this->sitePath) { throw new \Exception('Kernel does not have site path set before calling boot()');

DrupalKernel::attachSynthetic

protected DrupalKernel::attachSynthetic(ContainerInterface $container) Attach synthetic values on to kernel. Parameters ContainerInterface $container: Container object Return value ContainerInterface File core/lib/Drupal/Core/DrupalKernel.php, line 1143 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected function attachSynthetic(ContainerInterface $container) { $persist = array(); if (isset($this->container)) { $pers

DrupalKernel::addServiceFiles

protected DrupalKernel::addServiceFiles(array $service_yamls) Add service files. Parameters string[] $service_yamls: A list of service files. File core/lib/Drupal/Core/DrupalKernel.php, line 1531 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected function addServiceFiles(array $service_yamls) { $this->serviceYamls['site'] = array_filter($service_yamls, 'file_exists'); }

DrupalKernel::$sitePath

The site directory. Type: string File core/lib/Drupal/Core/DrupalKernel.php, line 230 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected $sitePath;

DrupalKernel::$serviceYamls

List of discovered services.yml pathnames. This is a nested array whose top-level keys are 'app' and 'site', denoting the origin of a service provider. Site-specific providers have to be collected separately, because they need to be processed last, so as to be able to override services from application service providers. Type: array File core/lib/Drupal/Core/DrupalKernel.php, line 188 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code pro

DrupalKernel::$serviceProviders

List of instantiated service provider classes. Type: array See also \Drupal\Core\DrupalKernel::$serviceProviderClasses File core/lib/Drupal/Core/DrupalKernel.php, line 212 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected $serviceProviders;

DrupalKernel::$serviceProviderClasses

List of discovered service provider class names or objects. This is a nested array whose top-level keys are 'app' and 'site', denoting the origin of a service provider. Site-specific providers have to be collected separately, because they need to be processed last, so as to be able to override services from application service providers. Allowing objects is for example used to allow \Drupal\KernelTests\KernelTestBase to register itself as service provider. Type: array File core/lib/Drupal/Core/

DrupalKernel::$root

The app root. Type: string File core/lib/Drupal/Core/DrupalKernel.php, line 237 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected $root;

DrupalKernel::$prepared

Whether essential services have been set up properly by preHandle(). Type: bool File core/lib/Drupal/Core/DrupalKernel.php, line 125 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected $prepared = FALSE;

DrupalKernel::$phpArrayDumperClass

Holds the class used for dumping the container to a PHP array. In combination with swapping the container class this is useful to e.g. dump to the human-readable PHP array format to debug the container definition in an easier way. Type: string File core/lib/Drupal/Core/DrupalKernel.php, line 59 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected $phpArrayDumperClass = '\Drupal\Component\DependencyInjection\Dumper\OptimizedPhpArra