W3cubDocs

/Drupal 7

function filter_update_dependencies

filter_update_dependencies()

Implements hook_update_dependencies().

File

modules/filter/filter.install, line 154
Install, update, and uninstall functions for the Filter module.

Code

function filter_update_dependencies() {
  // filter_update_7005() migrates role permissions and therefore must run
  // after the {role} and {role_permission} tables are properly set up, which
  // happens in user_update_7007().
  $dependencies['filter'][7005] = array(
    'user' => 7007,
  );

  return $dependencies;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!filter!filter.install/function/filter_update_dependencies/7.x