You are here

constant OEMBED_PATTERN_AUTOEMBED in oEmbed 7.0

Same name and namespace in other branches
  1. 8 oembed.filter.inc \OEMBED_PATTERN_AUTOEMBED
  2. 7 oembed.filter.inc \OEMBED_PATTERN_AUTOEMBED

@file Input filter that enhances oEmbed enabled URLs with extra content

2 uses of OEMBED_PATTERN_AUTOEMBED
oembed_filter_oembed_prepare in ./oembed.filter.inc
Implements hook_filter_FILTER_process().
_oembed_field_extract_urls in ./oembed.filter.inc
Extract all URLs for oEmbed to process.

File

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

Code

define('OEMBED_PATTERN_AUTOEMBED', '|^\\s*(https?://[^\\s"]+)\\s*$|im');