You are here

function scald_dnd_library_scald_provider in Scald: Media Management made easy 6

Implements hook_scald_provider.

File

scald_dnd_library/scald_dnd_library.module, line 79
Scald DnD Library

Code

function scald_dnd_library_scald_provider() {
  return array(
    'contexts' => 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',
          ),
        ),
      ),
    ),
  );
}