function acquia_search_menu_alter in Acquia Connector 7
Same name and namespace in other branches
- 7.3 acquia_search/acquia_search.module \acquia_search_menu_alter()
- 7.2 acquia_search/acquia_search.module \acquia_search_menu_alter()
Implementation of hook_menu_alter().
File
- acquia_search/
acquia_search.module, line 105 - Integration between Acquia Drupal and Acquia's hosted solr search service.
Code
function acquia_search_menu_alter(&$menu) {
$delete_page = 'admin/config/search/apachesolr-env/%apachesolr_environment/delete';
if (isset($menu[$delete_page])) {
$menu[$delete_page]['access callback'] = 'acquia_search_environment_delete_access';
$menu[$delete_page]['access arguments'] = array(
4,
);
}
}