Project

General

Profile

Paste
Download (610 Bytes) Statistics
| Branch: | Revision:

root / drupal7 / sites / all / modules / lightbox2 / lightbox2.views.inc @ 6135231a

1
<?php
2
// $Id: lightbox2.views.inc,v 1.1.2.1 2009/09/05 09:52:26 snpower Exp $
3

    
4
/**
5
 * @file
6
 * lightbox2.views.inc
7
 */
8

    
9
/**
10
 * Implementation of hook_views_data()
11
 */
12
function lightbox2_views_data() {
13

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

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

    
20
  $data['lightbox2']['lightbox2'] = array(
21
    'group' => t('Lightbox'),
22
    'field' => array(
23
      'title' => t('Lightbox trigger'),
24
      'help' => t('Provide custom text or link.'),
25
      'handler' => 'lightbox2_handler_field_lightbox2',
26
    ),
27
  );
28

    
29
  return $data;
30
}