You are here

function scald_dnd_library_scald_contexts in Scald: Media Management made easy 7

Implements hook_scald_contexts().

File

modules/library/scald_dnd_library/scald_dnd_library.module, line 130
Scald DnD Library

Code

function scald_dnd_library_scald_contexts() {
  return array(
    'sdl_editor_representation' => array(
      'title' => t('Editor Representation'),
      'description' => t('The Editor Rep'),
      'render_language' => 'XHTML',
      'parseable' => TRUE,
      'formats' => array(
        'image' => array(
          'jpeg',
          'png',
          'passthrough',
        ),
        'audio' => array(
          'wav',
          'ogg',
          'mp3',
          'passthrough',
        ),
      ),
    ),
    'sdl_preview' => array(
      'title' => t('Preview Representation'),
      'description' => t('The Preview Rep'),
      'render_language' => 'XHTML',
      'parseable' => FALSE,
      'formats' => array(
        'image' => array(
          'jpeg',
          'png',
          'passthrough',
        ),
        'audio' => array(
          'wav',
          'ogg',
          'mp3',
          'passthrough',
        ),
      ),
    ),
    'sdl_library_item' => array(
      'title' => t('Library item'),
      'description' => t('The Library Rep'),
      'render_language' => 'XHTML',
      'parseable' => FALSE,
      'formats' => array(
        'image' => array(
          'jpeg',
          'png',
          'passthrough',
        ),
        'audio' => array(
          'wav',
          'ogg',
          'mp3',
          'passthrough',
        ),
      ),
    ),
  );
}