You are here

function pmproject_update_dependencies in Drupal PM (Project Management) 7

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

Implements hook_update_dependencies().

File

pmproject/pmproject.install, line 233
Installation functions for the Project Management project module

Code

function pmproject_update_dependencies() {

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

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