function media_wysiwyg_update_dependencies in D7 Media 7.4
Same name and namespace in other branches
- 7.2 modules/media_wysiwyg/media_wysiwyg.install \media_wysiwyg_update_dependencies()
- 7.3 modules/media_wysiwyg/media_wysiwyg.install \media_wysiwyg_update_dependencies()
Implements hook_update_dependencies().
File
- modules/
media_wysiwyg/ media_wysiwyg.install, line 117 - 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;
}