ZF2-232: Add example for custom controller plugin registration

Issue Type: Docs: Improvement Created: 2012-03-20T22:20:06.000+0000 Last Updated: 2012-10-08T20:15:23.000+0000 Status: Closed Fix version(s): Reporter: Mat Berchtold (mberchtold) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\Mvc

Related issues: Attachments:


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

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

<pre class="highlight">
return array(
   'di' => array(
        'instance' => array(
            'Zend\Mvc\Controller\PluginLoader' => array(
                'parameters' => array(
                    'map' => array(
                        'custom' => 'SomeCustomModule\CustomPlugin',


Posted by Maks 3w (maks3w) on 2012-08-11T10:41:27.000+0000

You can add the example by yourself directly to the documentation…

Posted by Ralph Schindler (ralph) on 2012-10-08T20:15:23.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit:

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.