private static function FilterOEmbed::oembed_preg_auto_replace in oEmbed 8
PREG replace callback finds URLs
Parameters
$match:
Return value
string
File
- src/
Plugin/ Filter/ FilterOEmbed.php, line 248 - Contains \Drupal\filter\Plugin\Filter\FilterOEmbed.
Class
- FilterOEmbed
- Provides a fallback placeholder filter to use for missing filters.
Namespace
Drupal\oembed\Plugin\FilterCode
private static function oembed_preg_auto_replace($match) {
return '[embed]' . $match[1] . "[/embed]\n";
}