You are here

function wysiwyg_epiceditor_settings in Wysiwyg 7.2

Return runtime editor settings for a given wysiwyg profile.

Parameters

$editor: A processed hook_editor() array of editor properties.

$config: An array containing wysiwyg editor profile settings.

$theme: The name of a theme/GUI/skin to use.

Return value

A settings array to be populated in Drupal.settings.wysiwyg.configs.{editor}

1 string reference to 'wysiwyg_epiceditor_settings'
wysiwyg_epiceditor_editor in editors/epiceditor.inc
Plugin implementation of hook_editor().

File

editors/epiceditor.inc, line 110
Editor integration functions for EpicEditor.

Code

function wysiwyg_epiceditor_settings($editor, $config, $theme) {
  $settings = array(
    'basePath' => base_path() . $editor['library path'],
    'clientSideStorage' => FALSE,
    'theme' => $theme,
  );
  return $settings;
}