function scald_file_scald_contexts in Scald File Provider 7
Implements hook_scald_contexts().
Defines a representation that can be used when an atom reference field or views contains both images and files.
File
- ./
scald_file.module, line 406 - Scald File is a Scald Atom Provider for Files.
Code
function scald_file_scald_contexts() {
$contexts['file_representation'] = array(
'title' => t('File Representation'),
'description' => t('The File Representation'),
'render_language' => 'XHTML',
'parseable' => TRUE,
'formats' => array(
'image' => array(
'passthrough',
),
'file' => array(
'passthrough',
),
),
);
return $contexts;
}