You are here

function pmtask_update_dependencies in Drupal PM (Project Management) 7

Same name and namespace in other branches
  1. 8 pmtask/pmtask.install \pmtask_update_dependencies()
  2. 7.3 pmtask/pmtask.install \pmtask_update_dependencies()
  3. 7.2 pmtask/pmtask.install \pmtask_update_dependencies()

Implements hook_update_dependencies().

File

pmtask/pmtask.install, line 243
Install, disable, uninstall and update functions for pmtask module.

Code

function pmtask_update_dependencies() {

  // Ensure that date field is created before instance.
  $dependencies['pmtask'][7103] = array(
    'pm' => 7102,
  );

  // Ensure that billing status field is created before instance.
  $dependencies['pmtask'][7104] = array(
    'pm' => 7101,
  );
  return $dependencies;
}