function commons_update_3120 in Drupal Commons 7.3
Begin to use the Entity Embed module for embedded media handling if Media: WYSIWYG integration is currently enabled.
File
- ./
commons.install, line 814 - Install, update and uninstall functions for the Commons install profile.
Code
function commons_update_3120() {
if (module_exists('media_wysiwyg')) {
module_enable(array(
'entity_embed',
));
// Set jQuery version to 1.7
variable_set('jquery_update_jquery_version', '1.7');
$revert = array(
'commons_wysiwyg' => array(
'ckeditor_profile',
'filter',
),
);
features_revert($revert);
}
return array();
}