Projet

Général

Profil

Paste
Télécharger (491 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / colorbox / views / colorbox.views.inc @ b433176d

1
<?php
2

    
3
/**
4
 * @file
5
 * colorbox.views.inc
6
 */
7

    
8
/**
9
 * Implements hook_views_data().
10
 */
11
function colorbox_views_data() {
12

    
13
  $data['colorbox']['table']['group'] = t('Colorbox');
14

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

    
19
  $data['colorbox']['colorbox'] = array(
20
    'title' => t('Colorbox trigger'),
21
    'help' => t('Provide custom text or link.'),
22
    'field' => array(
23
      'handler' => 'colorbox_handler_field_colorbox',
24
    ),
25
  );
26

    
27
  return $data;
28
}