function farm_update_dependencies in farmOS 7
Implements hook_update_dependencies().
File
- ./
farm.install, line 265 - farmOS install file.
Code
function farm_update_dependencies() {
// farm_livestock_7000() and farm_equipment_update_7000 both depend on
// farm_update_7000() because they use the new field_bases provided by
// farm_fields.
$farm_7000 = array(
'farm' => 7000,
);
$dependencies['farm_equipment'][7000] = $farm_7000;
$dependencies['farm_livestock'][7000] = $farm_7000;
// farm_livestock_7001() depends on farm_update_7019() because it uses the new
// field_farm_parent field from the farm_asset_children module.
$dependencies['farm_livestock'][7001] = array(
'farm' => 7019,
);
return $dependencies;
}