CakePHP-Menu-Plugin
CakePHP-Menu-Plugin copied to clipboard
Support 'alias' option for auto-generated menus
When generating menus with MenuBuilderComponent, it should check for an option 'alias' containing a keyed array. The keys should be an action (method) name, and the value should be the alias that should be displayed instead.
This should essentially be just like Mark Story's AclMenuComponent:
var $options = array(
'alias' => array(
'admin_index' => 'View all Posts',
),
);