function video_embed_field_field_info in Video Embed Field 7
Same name and namespace in other branches
- 7.2 video_embed_field.field.inc \video_embed_field_field_info()
Implementation of hook_field_info Define the fields we're creating
File
- ./
video_embed_field.module, line 16
Code
function video_embed_field_field_info() {
return array(
'video_embed_field' => array(
'label' => 'Video Embed',
'description' => 'Embed videos from youtube or vimeo',
'settings' => array(),
'instance_settings' => array(
'allowed_types' => array(
'youtube',
'vimeo',
),
'description_field' => 0,
),
'default_widget' => 'video_embed_field_widget',
'default_formatter' => 'video_embed_field_formatter',
),
);
}