Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Provides an API for defining rules for rewriting the menu paths.
For example:
/**
* Implement hook_menu_rewrite_rule().
*/
function development_menu_menu_rewrite_rule() {
// Make 'Development' a primary item.
return array(
'admin/config/development' => 'admin/development',
);
}
/**
* Implement hook_menu_rewrite_alter().
*/
function development_menu_menu_rewrite_alter(&$items) {
// Ensure 'Modules' menu item shows up first.
$items['admin/modules']['weight'] = -11;
}
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Developer Tools, Site Structure
- 16 sites report using this module
- Created by boombatower on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
7.x-1.0
released 29 March 2011
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 29 Mar 2011 at 02:56 UTC