ZF2-232: Add example for custom controller plugin registration

Description

In the documentation (documentation/manual/en/module_specs tree) chapter: 12.7.1. Controllers, something similar to the following can be added:

12.7.1.4 Custom Plugins Registration

The partial configuration below shows how to register custom plugins with the PluginLoader in the module configuration file:


return array(
   'di' => array(
        'instance' => array(
            'Zend\Mvc\Controller\PluginLoader' => array(
                'parameters' => array(
                    'map' => array(
                        'custom' => 'SomeCustomModule\CustomPlugin',
                ),
            ),
        ),
   ),
);

Comments

You can add the example by yourself directly to the documentation

https://github.com/zendframework/…

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf2/issues/2466