You are here

function soembed_filter_info in Simple oEmbed 7

Implements hook_filter_info().

File

./soembed.module, line 11
Lets author embed rich media by inserting URL using oEmbed techonology.

Code

function soembed_filter_info() {
  $filters['soembed'] = array(
    'title' => t('Simple oEmbed filter'),
    'description' => t('Embeds media for URL that supports oEmbed standard.'),
    'process callback' => 'soembed_filter_embed_process',
    'settings callback' => 'soembed_filter_oembed_settings',
    'tips callback' => 'soembed_filter_embed_tips',
    'default settings' => array(
      'soembed_maxwidth' => '500',
      'soembed_replace_inline' => 0,
    ),
  );
  return $filters;
}