- Patch #1722694 by sun: Fixed Kernel::init() overrides Drupal's error handling configuration.
parent
10d19fd39a
commit
9f18d6d2b4
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue