You are here

function googtube_filter_info in Googtube 7.2

Same name and namespace in other branches
  1. 7 googtube.module \googtube_filter_info()

Implement hook_filter_info().

File

./googtube.module, line 23

Code

function googtube_filter_info() {
  $filters['googtube'] = array(
    'title' => t('Googtube filter'),
    'description' => t('Googtube is a filter module that automatically converts Youtube and Vimeo video urls into embedded code. Useful if users want to post videos easily.'),
    'process callback' => '_googtube_process',
    'settings callback' => '_googtube_settings',
    'default settings' => array(
      'googtube_method' => 'embedded',
      'googtube_width' => '425',
      'googtube_height' => '344',
      'googtube_info_hw' => 1,
      'googtube_fs' => 0,
      'googtube_autoplay' => 0,
      'googtube_rel' => 1,
      'googtube_removed' => 1,
    ),
    'tips callback' => '_googtube_tips',
  );
  return $filters;
}