function l10n_update_project_list in Localization update 6
Same name and namespace in other branches
- 7.2 l10n_update.compare.inc \l10n_update_project_list()
- 7 l10n_update.project.inc \l10n_update_project_list()
Get update module's project list
Return value
array
1 call to l10n_update_project_list()
- l10n_update_build_projects in ./
l10n_update.project.inc - Rebuild project list
File
- ./
l10n_update.project.inc, line 113 - Library for querying Drupal projects
Code
function l10n_update_project_list() {
$projects = array();
$disabled = variable_get('l10n_update_check_disabled', 0);
// Unlike update module, this one has no cache
_l10n_update_project_info_list($projects, module_rebuild_cache(), 'module', $disabled);
_l10n_update_project_info_list($projects, system_theme_data(), 'theme', $disabled);
// Allow other modules to alter projects before fetching and comparing.
drupal_alter('l10n_update_projects', $projects);
return $projects;
}