You are here

function bueditor_inc in BUEditor 7

Same name and namespace in other branches
  1. 6.2 bueditor.module \bueditor_inc()

Load bueditor.inc file

2 calls to bueditor_inc()
bueditor_settle in ./bueditor.module
Include necessary js and css files for editor settlement.
bueditor_textarea in ./bueditor.module
Integrate the editor into a textarea element.

File

./bueditor.module, line 101
Implements the necessary hooks for the editor to work properly.

Code

function bueditor_inc() {
  static $loaded;
  if (!isset($loaded)) {
    include_once DRUPAL_ROOT . '/' . drupal_get_path('module', 'bueditor') . '/bueditor.inc';
    $loaded = TRUE;
  }
}