You are here

function panopoly_wysiwyg_element_info_alter in Panopoly WYSIWYG 7

Implements of hook_element_info_alter().

File

./panopoly_wysiwyg.module, line 83

Code

function panopoly_wysiwyg_element_info_alter(&$type) {

  // Change text format processing on elements to our version.
  if (isset($type['text_format'])) {
    $type['text_format']['#process'][] = 'panopoly_wysiwyg_filter_process_format';
  }
}