You are here

public function MediaInternetOEmbedHandler::claim in oEmbed 7.0

Same name and namespace in other branches
  1. 8 MediaInternetOEmbedHandler.inc \MediaInternetOEmbedHandler::claim()
  2. 7 MediaInternetOEmbedHandler.inc \MediaInternetOEmbedHandler::claim()

Claim this URL.

File

./MediaInternetOEmbedHandler.inc, line 27
MediaInternetOEmbedHandler.inc

Class

MediaInternetOEmbedHandler
Implementation of MediaInternetBaseHandler.

Code

public function claim($embedCode) {
  $matches = array();
  if (oembed_get_provider($embedCode, $matches)) {
    return TRUE;
  }
}