1 views.module | views_module_implements_alter(&$implementations, $hook) |
Implements hook_module_implements_alter().
File
- core/
modules/ views/ views.module, line 552 - Primarily Backdrop hooks and global API functions to manipulate views.
Code
function views_module_implements_alter(&$implementations, $hook) {
// Move views_menu_alter() to the beginning of all hook_menu_alter() calls.
// This allows other modules to modify the menu items created by Views, such
// as "admin/content" and "admin/people".
if ($hook == 'menu_alter') {
$implementations = array('views' => $implementations['views']) + $implementations;
}
}