You are here

function autofloat_filter_info in AutoFloat 7.2

Same name and namespace in other branches
  1. 7 autofloat.module \autofloat_filter_info()

Implements hook_filter_info().

File

./autofloat.module, line 46
Autofloat module: A filter that floats images left and right automatically.

Code

function autofloat_filter_info() {
  $filters['filter_autofloat'] = array(
    'title' => t('Auto Float'),
    'description' => t('Images will float left and right unless escaped with a class "nofloat".'),
    'process callback' => '_autofloat_filter',
    'settings callback' => '_autofloat_filter_settings',
    'tips callback' => '_autofloat_filter_tips',
    'weight' => 10,
  );
  return $filters;
}