Projet

Général

Profil

Révision b3ab3446

Ajouté par Assos Assos il y a plus de 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/media/modules/media_wysiwyg/media_wysiwyg.install
56 56
 */
57 57
function media_wysiwyg_install() {
58 58
  media_wysiwyg_update_7204();
59

  
60
  // Start off with the alignment feature enabled.
61
  variable_set('media_wysiwyg_alignment', TRUE);
59 62
}
60 63

  
61 64
/**
......
72 75
  variable_del('media_wysiwyg_wysiwyg_browser_plugins');
73 76
  variable_del('media_wysiwyg_wysiwyg_override_field_types');
74 77
  variable_del('media_wysiwyg_use_link_text_for_filename');
78
  variable_del('media_wysiwyg_alignment');
75 79
}
76 80

  
77 81
/**
......
223 227

  
224 228
  module_invoke_all('modules_uninstalled', array($module));
225 229
}
230

  
231
/**
232
 * Notify upgraders that there's optional media alignment functionality that needs to be enabled.
233
 */
234
function media_wysiwyg_update_7206() {
235
  $message = t('If you would like to be able to align your embedded media (left, right, or center), go to /admin/config/media/browser and check "Provide alignment option when embedding media", and save the settings.');
236
  drupal_set_message($message,'warning',TRUE);
237
}
238

  
239

  

Formats disponibles : Unified diff