You are here

commons_wysiwyg.install in Drupal Commons 7.3

File

modules/commons/commons_wysiwyg/commons_wysiwyg.install
View source
<?php

/**
 * Update CKEditor config to be more friendly on devices with smaller
 * screen sizes per http://drupal.org/node/1948466.
 */
function commons_wysiwyg_update_3100() {
  $revert = array(
    'commons_wysiwyg' => array(
      'ckeditor_profile',
    ),
  );
  features_revert($revert);
  return array();
}

/**
 * Update our CKEditor profile to help resolve issues editing
 * text areas on iPad per https://drupal.org/node/2030087.
 */
function commons_wysiwyg_update_3101() {
  $revert = array(
    'commons_wysiwyg' => array(
      'ckeditor_profile',
    ),
  );
  features_revert($revert);
  return array();
}

/**
 * Prefer a local copy of CKEditor by default.
 */
function commons_wysiwyg_update_3102() {
  $revert = array(
    'commons_wysiwyg' => array(
      'ckeditor_profile',
    ),
  );
  features_revert($revert);
  return array();
}

/**
 * This update has been removed and will not run.
 */
function commons_wysiwyg_update_3103() {

  // This update function previously accommodated the switch to editor.module.
}

/**
 * Add editor settings to text filters.
 */
function commons_wysiwyg_update_3104() {
  $revert = array(
    'commons_wysiwyg' => array(
      'filter',
    ),
  );
  features_revert($revert);
  return array();
}

Functions

Namesort descending Description
commons_wysiwyg_update_3100 Update CKEditor config to be more friendly on devices with smaller screen sizes per http://drupal.org/node/1948466.
commons_wysiwyg_update_3101 Update our CKEditor profile to help resolve issues editing text areas on iPad per https://drupal.org/node/2030087.
commons_wysiwyg_update_3102 Prefer a local copy of CKEditor by default.
commons_wysiwyg_update_3103 This update has been removed and will not run.
commons_wysiwyg_update_3104 Add editor settings to text filters.