You are here

function media_wysiwyg_update_dependencies in D7 Media 7.2

Same name and namespace in other branches
  1. 7.4 modules/media_wysiwyg/media_wysiwyg.install \media_wysiwyg_update_dependencies()
  2. 7.3 modules/media_wysiwyg/media_wysiwyg.install \media_wysiwyg_update_dependencies()

Implements hook_update_dependencies().

File

modules/media_wysiwyg/media_wysiwyg.install, line 86
Install, update and uninstall functions for the Media WYSIWYG module.

Code

function media_wysiwyg_update_dependencies() {

  // Ensure the "access media browser" permission is granted to users before
  // using it to grant the "use media wysiwyg" permission.
  $dependencies['media_wysiwyg'][7201] = array(
    'media' => 7226,
  );
  return $dependencies;
}