Drupal's kernel currently inherits Symfony's serialize() and unserialize() functions which expect a different object signature. Correcting for Drupal's makes the kernel serializable. :)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dean Reilly’s picture

Status: Active » Needs review
FileSize
777 bytes

Patch attached.

Status: Needs review » Needs work

The last submitted patch, serialize-drupal-kernel-2004354-1.patch, failed testing.

dawehner’s picture

Issue summary: View changes
Status: Needs work » Closed (won't fix)

IMHO its pointless to serialize this kinda of god object.

Note: Unlike the time when this patch was created we no longer use the Kernel from symfony.