You are here

function layouter_element_info_alter in Layouter - WYSIWYG layout templates 7

Same name and namespace in other branches
  1. 8 layouter.module \layouter_element_info_alter()

Implements hook_element_info_alter().

File

./layouter.module, line 119
This module provide ability to add layout to text fields.

Code

function layouter_element_info_alter(&$types) {
  if (user_access('use layouter')) {
    $types['text_format']['#pre_render'][] = 'layouter_text_format_pre_render';
  }
}