From 9f18d6d2b42fff07f4a3672182b37113e8572b17 Mon Sep 17 00:00:00 2001 From: Dries Date: Sat, 11 Aug 2012 12:28:03 -0400 Subject: [PATCH] - Patch #1722694 by sun: Fixed Kernel::init() overrides Drupal's error handling configuration. --- core/lib/Drupal/Core/DrupalKernel.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php index 869b5040c8e..869d4ee36bd 100644 --- a/core/lib/Drupal/Core/DrupalKernel.php +++ b/core/lib/Drupal/Core/DrupalKernel.php @@ -25,6 +25,16 @@ use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; */ class DrupalKernel extends Kernel { + /** + * Overrides Kernel::init(). + */ + public function init() { + // Intentionally empty. The sole purpose is to not execute Kernel::init(), + // since that overrides/breaks Drupal's current error handling. + // @todo Investigate whether it is possible to migrate Drupal's error + // handling to the one of Kernel without losing functionality. + } + /** * Returns an array of available bundles. */