You are here

function media_wysiwyg_update_7207 in D7 Media 7.2

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

Notify upgraders that there's optional media linking functionality that needs to be enabled.

File

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

Code

function media_wysiwyg_update_7207() {
  $message = t('If you would like to be able to link images to a page, go to /admin/config/media/browser, check "Provide the ability to link media to pages", and save the settings.');
  drupal_set_message($message, 'warning', TRUE);
}