You are here

varbase_editor.install in Varbase Editor 7.3

File

varbase_editor.install
View source
<?php

/**
 * Implements hook_enable().
 */
function varbase_editor_enable() {
  features_revert(array(
    'varbase_editor' => array(
      'ckeditor_profile',
    ),
  ));

  // Disable ace_editor filter_format since we have a HTML format, also this
  // will allow us to replace or remove ace editor without legacy problems.
  db_update('filter_format')
    ->fields(array(
    'status' => 0,
  ))
    ->condition('format', 'ace_editor')
    ->execute();
}

Functions

Namesort descending Description
varbase_editor_enable Implements hook_enable().