You are here

function oembed_filter_info in oEmbed 8

Same name and namespace in other branches
  1. 7 oembed.filter.inc \oembed_filter_info()
  2. 7.0 oembed.filter.inc \oembed_filter_info()

Implements hook_filter_info().

File

./oembed.filter.inc, line 15
Input filter that enhances oEmbed enabled URLs with extra content

Code

function oembed_filter_info() {
  $filters['oembed_legacy'] = array(
    'title' => t('oEmbed legacy filter'),
    'description' => t('Embeds content for oEmbed-enabled web addresses and turns the rest, and e-mail addresses, into clickable links.'),
    'process callback' => 'oembed_filter_oembed_legacy_process',
    'settings callback' => 'oembed_filter_oembed_legacy_settings',
    'default settings' => array(
      'maxwidth' => '',
      'maxheight' => '',
    ),
  );
  return $filters;
}