function update_create_fetch_task
Same name in other branches
- 9 core/modules/update/update.module \update_create_fetch_task()
- 8.9.x core/modules/update/update.module \update_create_fetch_task()
- 10 core/modules/update/update.module \update_create_fetch_task()
- 11.x core/modules/update/update.module \update_create_fetch_task()
Creates a new fetch task after loading the necessary include file.
Parameters
$project: Associative array of information about a project. See update_get_projects() for the keys used.
See also
3 calls to update_create_fetch_task()
- UpdateCoreTestCase::testFetchTasks in modules/
update/ update.test - Tests that exactly one fetch task per project is created and not more.
- update_get_available in modules/
update/ update.module - Tries to get update information from cache and refreshes it when necessary.
- _update_refresh in modules/
update/ update.fetch.inc - Clears out all the cached available update data and initiates re-fetching.
File
-
modules/
update/ update.module, line 458
Code
function update_create_fetch_task($project) {
module_load_include('inc', 'update', 'update.fetch');
return _update_create_fetch_task($project);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.