ZF2-320: view_manager -> helper_map is Zend\Config\Config and not array in Zend/Mvc/View/ViewManager
Description
When loading your own view plugins in module.config:
'view_manager' => array(
'helper_map' => array(
'hello' => 'MyNamespace\View\Helper\Hello',
),
// [snip]
),
Zend\Mvc\View::getHelperLoader() reports:
````
$map = $this->config['helper_map'] is a Zend\Config\Config and not array.
$map->toArray(); fixes the issue.
Comments
Posted by Evan Coury (evan.pro) on 2012-05-31T17:26:08.000+0000
Fixed with PR #1331.