/[drupal]/contributions/modules/lightbox2/lightbox2.views.inc
ViewVC logotype

Diff of /contributions/modules/lightbox2/lightbox2.views.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Sat Sep 5 09:52:26 2009 UTC revision 1.1.2.1, Sat Sep 5 09:52:26 2009 UTC
# Line 0  Line 1 
1    <?php
2    // $Id: $
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    }
31    
32    /**
33     * Implementation of hook_views_handlers() to register all of the basic handlers
34     * views uses.
35     */
36    function lightbox2_views_handlers() {
37      return array(
38        'info' => array(
39          'path' => drupal_get_path('module', 'lightbox2'),
40        ),
41        'handlers' => array(
42          'lightbox2_handler_field_lightbox2' => array(
43            'parent' => 'views_handler_field',
44          ),
45        ),
46      );
47    }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

  ViewVC Help
Powered by ViewVC 1.1.2