You are here

function wysiwyg_element_info_alter in Wysiwyg 7.2

Implements hook_element_info_alter().

File

./wysiwyg.module, line 211

Code

function wysiwyg_element_info_alter(&$types) {
  $types['text_format']['#pre_render'][] = 'wysiwyg_pre_render_text_format';

  // For filtering stylesheets before Core aggregates them.
  array_unshift($types['styles']['#pre_render'], '_wysiwyg_filter_editor_styles');

  // For recording and caching the added stylesheets.
  $types['styles']['#pre_render'][] = '_wysiwyg_pre_render_styles';
}