function tripal_stock_update_dependencies
2.x tripal_stock.install | tripal_stock_update_dependencies() |
Implementation of hook_update_dependencies().
It specifies a list of other modules whose updates must be run prior to this one. It also ensures the the Tripal API is in scope for site upgrades when tripal_core is disabled.
File
- tripal_stock/
tripal_stock.install, line 327 - Install the tripal stock module including it's content type
Code
function tripal_stock_update_dependencies() {
$dependencies = array();
// the tripal_cv update 7200 must run prior to update 7200 of this module
$dependencies['tripal_stock'][7200] = array(
'tripal_cv' => 7200
);
return $dependencies;
}