Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: 7.x-2.x-media
Fetching contributors…

Cannot retrieve contributors at this time

105 lines (91 sloc) 3.71 kb
<?php
/**
* @file
* media_feature.file_default_displays.inc
*/
/**
* Implements hook_file_default_displays().
*/
function media_feature_file_default_displays() {
$export = array();
$file_display = new stdClass();
$file_display->api_version = 1;
$file_display->name = 'image__media_small__file_field_file_default';
$file_display->weight = 0;
$file_display->status = FALSE;
$file_display->settings = '';
$export['image__media_small__file_field_file_default'] = $file_display;
$file_display = new stdClass();
$file_display->api_version = 1;
$file_display->name = 'image__media_small__file_field_file_table';
$file_display->weight = 0;
$file_display->status = FALSE;
$file_display->settings = '';
$export['image__media_small__file_field_file_table'] = $file_display;
$file_display = new stdClass();
$file_display->api_version = 1;
$file_display->name = 'image__media_small__file_field_file_url_plain';
$file_display->weight = 0;
$file_display->status = FALSE;
$file_display->settings = '';
$export['image__media_small__file_field_file_url_plain'] = $file_display;
$file_display = new stdClass();
$file_display->api_version = 1;
$file_display->name = 'image__media_small__file_field_media_large_icon';
$file_display->weight = 0;
$file_display->status = FALSE;
$file_display->settings = '';
$export['image__media_small__file_field_media_large_icon'] = $file_display;
$file_display = new stdClass();
$file_display->api_version = 1;
$file_display->name = 'image__media_small__file_field_styles_file_large';
$file_display->weight = 0;
$file_display->status = FALSE;
$file_display->settings = '';
$export['image__media_small__file_field_styles_file_large'] = $file_display;
$file_display = new stdClass();
$file_display->api_version = 1;
$file_display->name = 'image__media_small__file_field_styles_file_medium';
$file_display->weight = 0;
$file_display->status = TRUE;
$file_display->settings = '';
$export['image__media_small__file_field_styles_file_medium'] = $file_display;
$file_display = new stdClass();
$file_display->api_version = 1;
$file_display->name = 'image__media_small__file_field_styles_file_original';
$file_display->weight = 0;
$file_display->status = FALSE;
$file_display->settings = '';
$export['image__media_small__file_field_styles_file_original'] = $file_display;
$file_display = new stdClass();
$file_display->api_version = 1;
$file_display->name = 'image__media_small__file_field_styles_file_small';
$file_display->weight = 0;
$file_display->status = FALSE;
$file_display->settings = '';
$export['image__media_small__file_field_styles_file_small'] = $file_display;
$file_display = new stdClass();
$file_display->api_version = 1;
$file_display->name = 'image__media_small__file_field_styles_file_square_thumbnail';
$file_display->weight = 0;
$file_display->status = FALSE;
$file_display->settings = '';
$export['image__media_small__file_field_styles_file_square_thumbnail'] = $file_display;
$file_display = new stdClass();
$file_display->api_version = 1;
$file_display->name = 'image__media_small__file_field_styles_file_thumbnail';
$file_display->weight = 0;
$file_display->status = FALSE;
$file_display->settings = '';
$export['image__media_small__file_field_styles_file_thumbnail'] = $file_display;
$file_display = new stdClass();
$file_display->api_version = 1;
$file_display->name = 'image__media_small__file_image';
$file_display->weight = 0;
$file_display->status = FALSE;
$file_display->settings = array(
'image_style' => '',
);
$export['image__media_small__file_image'] = $file_display;
return $export;
}
Jump to Line
Something went wrong with that request. Please try again.