You are here

function hook_video_embed_handler_info in Video Embed Field 7

Same name and namespace in other branches
  1. 7.2 video_embed_field.api.php \hook_video_embed_handler_info()

Creates a hook that other modules can implement to get handlers - hook_video_embed_handler_info Can be used to add more handlers if needed - from other modules and such Handler should be an array of the form array( 'function' => 'function_name_to_call' //should be of the signature function_name($url, $settings, $type = 'video|teaser|image', $image_size='small|medium|large') and should return the embed code 'defaults' => array() //The default settings for the module, used for both the form and the callback function 'domain' => 'youtube.com' //the domain that this handler will create embed code for 'form' => 'function_name_for_form' //function to create settings form (optional) 'title' => 'Title' //The title of the handler - to be used as the field group header - will be wrapped with t() );

1 function implements hook_video_embed_handler_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

video_embed_field_video_embed_handler_info in ./video_embed_field.module
Implementation of hook_video_embed_handler_info
1 invocation of hook_video_embed_handler_info()
video_embed_get_handlers in ./video_embed_field.module
Creates a hook that other modules can implement to get handlers - hook_video_embed_handler_info Can be used to add more handlers if needed - from other modules and such

File

./video_embed_field.api.php, line 19

Code

function hook_video_embed_handler_info() {
}