function _search_get_module_names

Helper function to get real module names.

1 call to _search_get_module_names()
search_admin_settings in modules/search/search.admin.inc
Menu callback: displays the search module settings page.

File

modules/search/search.admin.inc, line 31

Code

function _search_get_module_names() {
    $search_info = search_get_info(TRUE);
    $system_info = system_get_info('module');
    $names = array();
    foreach ($search_info as $module => $info) {
        $names[$module] = $system_info[$module]['name'];
    }
    asort($names, SORT_STRING);
    return $names;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.