- Patch #1722694 by sun: Fixed Kernel::init() overrides Drupal's error handling configuration.

8.0.x
Dries 2012-08-11 12:28:03 -04:00
parent 10d19fd39a
commit 9f18d6d2b4
1 changed files with 10 additions and 0 deletions

View File

@ -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.
*/