You are here

function emogrifier_filter_info in Emogrifier 7.2

Same name and namespace in other branches
  1. 8 emogrifier.module \emogrifier_filter_info()
  2. 7 emogrifier.module \emogrifier_filter_info()

Implements hook_filter_info().

File

./emogrifier.module, line 33
This module uses the emogrifier class library as an input filter to convert stylesheet rules to inline style attributes. This ensures proper display on email and mobile device readers that lack stylesheet support.

Code

function emogrifier_filter_info() {
  return array(
    'filter_emogrifier' => array(
      'title' => t('Emogrifier'),
      'description' => t('Converts stylesheet rules to inline style attributes.'),
      'process callback' => '_emogrifier_process',
      'settings callback' => '_emogrifier_filter_settings',
      'tips callback' => '_emogrifier_filter_tips',
    ),
  );
}