You are here

function smiley_filter_info in Smiley 7.2

Same name and namespace in other branches
  1. 7 smiley.module \smiley_filter_info()

Implements hook_filter_info().

File

./smiley.module, line 12
A framework for replacing text smileys with images.

Code

function smiley_filter_info() {
  $filters = array();
  $filters['smiley'] = array(
    'title' => t('Convert smileys to images'),
    'description' => t('Replaces text smileys with image equivalents.'),
    'process callback' => '_smiley_filter_smiley_process',
    'weight' => 5,
    'settings callback' => '_smiley_filter_smiley_settings',
    'default settings' => array(
      'method' => 'smiley_span_smiley',
    ),
  );
  return $filters;
}