1 search.admin.inc _search_get_module_names()

Helper function to get real module names.

File

core/modules/search/search.admin.inc, line 34
Admin page callbacks for the Search module.

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;
}