You are here

function media_update_dependencies in D7 Media 7

Same name and namespace in other branches
  1. 7.4 media.install \media_update_dependencies()
  2. 7.2 media.install \media_update_dependencies()
  3. 7.3 media.install \media_update_dependencies()

Implements hook_update_dependencies().

File

./media.install, line 252
Install, update and uninstall functions for the Media module.

Code

function media_update_dependencies() {

  // This update function requires field_update_7002() to run before it since
  // the field_bundle_settings variable has been split into separate variables
  // per entity type and bundle.
  $dependencies['mymodule'][7016] = array(
    'field' => 7002,
  );
  return $dependencies;
}