- Patch by guidocecilio, linclark: hook_requirements() API documentation needs doc on 'update' phase.

8.0.x
Dries Buytaert 2011-05-01 06:34:58 -04:00
parent 394a3934db
commit fb7f4b3835
1 changed files with 4 additions and 3 deletions
modules/system

View File

@ -2761,9 +2761,10 @@ function hook_file_url_alter(&$uri) {
/**
* Check installation requirements and do status reporting.
*
* This hook has two closely related uses, determined by the $phase argument:
* checking installation requirements ($phase == 'install')
* and status reporting ($phase == 'runtime').
* This hook has three closely related uses, determined by the $phase argument:
* - Checking installation requirements ($phase == 'install').
* - Checking update requirements ($phase == 'update').
* - Status reporting ($phase == 'runtime').
*
* Note that this hook, like all others dealing with installation and updates,
* must reside in a module_name.install file, or it will not properly abort