You are here

function _wysiwyg_yui_proxy_plugin_settings in Wysiwyg 7.2

Same name and namespace in other branches
  1. 6.2 editors/yui.inc \_wysiwyg_yui_proxy_plugin_settings()

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

1 string reference to '_wysiwyg_yui_proxy_plugin_settings'
wysiwyg_yui_editor in editors/yui.inc
Plugin implementation of hook_editor().

File

editors/yui.inc, line 343
Editor integration functions for YUI editor.

Code

function _wysiwyg_yui_proxy_plugin_settings($editor, $profile, $plugins) {
  $settings = array();
  foreach ($plugins as $name => $plugin) {
    $settings[$name] = array();
  }
  return $settings;
}