You are here

function gotwo_filter_info in Go - url redirects 7

Implements hook_filter_info().

File

./gotwo.module, line 162
Module that provides easy to use redirection links. A redirection link would be like: http://examples.org/go/a_label http://examples.org/go/123546 http://examples.org/go/or/like/this

Code

function gotwo_filter_info() {
  $filters['gotwo_link'] = array(
    'title' => t('"Go" redirection filter'),
    'description' => t('Automatically creates redirection urls. <go href=""></go> tags are nicely translated to <a href=""></a> tags.'),
    'process callback' => '_gotwo_link',
    /* 'settings callback' => '_gotwo_link_settings',
       'default settings' => array(
         'gotwo_numeric' => variable_get('gotwo_numeric', FALSE),
         'gotwo_transliteration' => variable_get('gotwo_transliteration', TRUE),
         'gotwo_separator' => variable_get('gotwo_separator', '-'),
         'gotwo_max_length' => variable_get('gotwo_max_length', 128),
       ), */
    'tips callback' => '_gotwo_link_tips',
  );
  return $filters;
}