You are here

function lightbox2_views_data in Lightbox2 7

Same name and namespace in other branches
  1. 8 lightbox2.views.inc \lightbox2_views_data()
  2. 6 lightbox2.views.inc \lightbox2_views_data()
  3. 7.2 lightbox2.views.inc \lightbox2_views_data()

Implementation of hook_views_data()

File

./lightbox2.views.inc, line 12
lightbox2.views.inc

Code

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;
}