lightbox2.views.inc 610 Bytes
Newer Older
1
<?php
2
// $Id: lightbox2.views.inc,v 1.1.2.1 2009/09/05 09:52:26 snpower Exp $
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29

/**
 * @file
 * lightbox2.views.inc
 */

/**
 * Implementation of hook_views_data()
 */
function lightbox2_views_data() {

  $data['lightbox2']['table']['group'] = t('Lightbox');

  $data['lightbox2']['table']['join'] = array(
    '#global' => array(),
  );

  $data['lightbox2']['lightbox2'] = array(
    'group' => t('Lightbox'),
    'field' => array(
      'title' => t('Lightbox trigger'),
      'help' => t('Provide custom text or link.'),
      'handler' => 'lightbox2_handler_field_lightbox2',
    ),
  );

  return $data;
30
}