You are here

function mappy_filter_info in Mappy 7

Implements hook_filter_info().

Declare our filter.

File

./mappy.module, line 101
Module file for mappy.

Code

function mappy_filter_info() {
  $filters['filter_mappy'] = array(
    'title' => t('Mappy filter.'),
    'description' => t('Every [mappy:service address:\'address\'] token will be replaced with map.'),
    'prepare callback' => '_mappy_filter_prepare',
    'process callback' => '_mappy_filter_process',
    'tips callback' => '_mappy_filter_tips',
  );
  return $filters;
}