function pmtimetracking_update_dependencies in Drupal PM (Project Management) 7
Same name and namespace in other branches
- 8 pmtimetracking/pmtimetracking.install \pmtimetracking_update_dependencies()
- 7.3 pmtimetracking/pmtimetracking.install \pmtimetracking_update_dependencies()
- 7.2 pmtimetracking/pmtimetracking.install \pmtimetracking_update_dependencies()
Implements hook_update_dependencies().
File
- pmtimetracking/
pmtimetracking.install, line 162 - Install functions for PM Timetracking.
Code
function pmtimetracking_update_dependencies() {
// Ensure that billing status field is created before instance.
$dependencies['pmtimetracking'][7104] = array(
'pm' => 7101,
);
// Ensure that date range field is created before instance.
$dependencies['pmtimetracking'][7105] = array(
'pm' => 7102,
);
return $dependencies;
}