You are here

abstract public function MediaInternetBaseHandler::claim in D7 Media 7.2

Same name and namespace in other branches
  1. 7.4 modules/media_internet/includes/MediaInternetBaseHandler.inc \MediaInternetBaseHandler::claim()
  2. 7 modules/media_internet/includes/MediaInternetBaseHandler.inc \MediaInternetBaseHandler::claim()
  3. 7.3 modules/media_internet/includes/MediaInternetBaseHandler.inc \MediaInternetBaseHandler::claim()

Determines if this handler should claim the item.

Parameters

string $embed_code: A string of user-submitted embed code.

Return value

boolean Pass TRUE to claim the item.

2 methods override MediaInternetBaseHandler::claim()
MediaInternetFileHandler::claim in modules/media_internet/includes/MediaInternetFileHandler.inc
Determines if this handler should claim the item.
MediaInternetTestHandler::claim in modules/media_internet/tests/includes/MediaInternetTestHandler.inc
Determines if this handler should claim the item.

File

modules/media_internet/includes/MediaInternetBaseHandler.inc, line 34
Definition of MediaInternetBaseHandler.

Class

MediaInternetBaseHandler
A base class for managing the addition of Internet media.

Code

public abstract function claim($embed_code);