ZF2-217: Zend\Form\DisplayGroup does not use same view object as Zend\Form\Form

Description

In controller

$form->getView()->plugin('escape')->setCallback(...)

in view script

<?= $form->getDisplayGroup('someGroup') ?>

while rendering display group new View\Renderer is created and does not use same plugin as whole form

Comments

The Zend\Form component is about to be rewritten. The RFC can be found here: http://framework.zend.com/wiki/display/…

This class no longer exists as of beta4.