You are here

scald_dnd_library.views.inc in Scald: Media Management made easy 6

File

scald_dnd_library/includes/scald_dnd_library.views.inc
View source
<?php

/**
 * Implements hook_views_plugins().
 * TODO: Maybe try to get rid of the style plugin ? The display should probably
 *       just set it.
 */
function scald_dnd_library_views_plugins() {
  return array(
    'style' => array(
      'scald_library' => array(
        'title' => 'Scald Library',
        'help' => 'Format atoms for use in a DnD Library',
        'handler' => 'scald_plugin_style_library',
        'path' => drupal_get_path('module', 'scald_dnd_library') . '/includes/',
        'uses row plugin' => FALSE,
        'uses fields' => TRUE,
        'uses options' => FALSE,
        'type' => 'normal',
        'help topic' => 'style-library',
        'theme' => 'sdl_library',
        'theme file' => 'scald_dnd_library.module',
      ),
    ),
    'display' => array(
      'dnd_library' => array(
        'title' => t('Scald Library'),
        'help' => t('Format atoms for use as a DnD Library'),
        'handler' => 'scald_plugin_display_library',
        'parent' => 'page',
        'path' => drupal_get_path('module', 'scald_dnd_library') . '/includes/',
        'theme' => 'views_view',
        'use ajax' => FALSE,
        'use pager' => TRUE,
        'admin' => t('Libary'),
        'help topic' => 'scald-library',
        'uses hook menu' => TRUE,
      ),
    ),
  );
}

Functions

Namesort descending Description
scald_dnd_library_views_plugins Implements hook_views_plugins(). TODO: Maybe try to get rid of the style plugin ? The display should probably just set it.