function bynder_file_formatter_info_alter in Bynder 7
Implements hook_file_formatter_info(). $info: Array of information on file formatters exposed by hook_file_formatter_info() implementations.
File
- includes/
bynder.formatters.inc, line 13 - bynder/includes/bynder.formatters.inc Formatters for Media: Bynder.
Code
function bynder_file_formatter_info_alter(&$info) {
$info['file_bynder_image'] = array(
'label' => t('Bynder Preview Image'),
'file types' => array(
'image',
),
'default settings' => array(
'image_style' => '',
),
'view callback' => 'bynder_file_formatter_image_view',
'settings callback' => 'bynder_file_formatter_image_settings',
'mime types' => array(
'image/bynder',
),
);
return $info;
}