function mediafront_youtube_mediafront_views_default_options in MediaFront 7.2
Implements hook_mediafront_views_default_options().
File
- modules/
mediafront_youtube/ mediafront_youtube.features.inc, line 185 - mediafront_youtube.features.inc
Code
function mediafront_youtube_mediafront_views_default_options() {
$options = array(
'youtube_media' => array(
'title' => array(
'link_to_player' => 1,
'field_type' => 'title',
'media_type' => 'media',
'preview' => '0',
'thumbnail' => '0',
'custom' => '',
),
'field_youtube_poster' => array(
'link_to_player' => 1,
'field_type' => 'image',
'media_type' => 'media',
'preview' => 'large',
'thumbnail' => 'thumbnail',
'custom' => '',
),
'field_youtube_url' => array(
'link_to_player' => 0,
'field_type' => 'media',
'media_type' => 'media',
'preview' => '0',
'thumbnail' => '0',
'custom' => '',
),
),
);
return $options;
}