You are here

function _wysiwyg_fckeditor_proxy_plugin_settings in Wysiwyg 6.2

Same name and namespace in other branches
  1. 7.2 editors/fckeditor.inc \_wysiwyg_fckeditor_proxy_plugin_settings()

Build a JS settings array for Drupal plugins loaded via the proxy plugin.

1 string reference to '_wysiwyg_fckeditor_proxy_plugin_settings'
wysiwyg_fckeditor_editor in editors/fckeditor.inc
Plugin implementation of hook_editor().

File

editors/fckeditor.inc, line 277
Editor integration functions for FCKeditor.

Code

function _wysiwyg_fckeditor_proxy_plugin_settings($editor, $profile, $plugins) {
  $settings = array();
  foreach ($plugins as $name => $plugin) {

    // Just need a list of all enabled plugins for each instance.
    $settings[$name] = TRUE;
  }
  return $settings;
}