Hooks/define routes

This hook runs when Omeka's router is instantiated. It allows the plugin writer to add routes to Omeka.

Routes can be used to create custom URLs that are different than the default ones provided by Omeka for plugin pages.

Omeka uses the Zend Framework's routing functionality. For more information on routes and Zend Framework, see Zend's documentation.

Arguments

Zend_Controller_Router_Rewrite $router {{#if
| (optional)}}
Router object.
{{#if: | Default: {{{default}}}}}