public function MediaInternetOEmbedHandler::claim in oEmbed 7.0
Same name and namespace in other branches
- 8 MediaInternetOEmbedHandler.inc \MediaInternetOEmbedHandler::claim()
- 7 MediaInternetOEmbedHandler.inc \MediaInternetOEmbedHandler::claim()
Claim this URL.
File
Class
- MediaInternetOEmbedHandler
- Implementation of MediaInternetBaseHandler.
Code
public function claim($embedCode) {
$matches = array();
if (oembed_get_provider($embedCode, $matches)) {
return TRUE;
}
}