- COPYRIGHT AND LICENSE
WWW::MenuGrinder::Role::ItemMogrifier - WWW::MenuGrinder role for plugins that modify menus item-by-item per request.
Returns a list of the methods that your plugin provides as an
ItemMogrifier. Each method on this list will be executed on each item of the menu tree, and if a plugin provides more than one item mogrify method, each will be called on a separate complete pass over the tree, enabling two-phase processing. If you do not override
item_mogrifiy_methods your plugin is assumed to provide one method, named
Is called on each item of the menu tree, in postorder. May modify
$item in-place or modify it by copying; either way the new
$item should be returned. If
() is returned instead, the item (and all of its children) are removed from the menu.
Andrew Rodland <email@example.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by HBS Labs, LLC..
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.