You are here

function views_conditional_views_data in Views Conditional 7

Same name and namespace in other branches
  1. 8 views_conditional.views.inc \views_conditional_views_data()

Implements hook_views_data().

File

includes/views/views_conditional.views.inc, line 11
Include file for defining views handlers and data.

Code

function views_conditional_views_data() {
  $data['views_conditional']['table']['group'] = t('Views');
  $data['views_conditional']['table']['join'] = array(
    '#global' => array(),
  );
  $data['views_conditional']['views_conditional'] = array(
    'title' => t('Views Conditional'),
    'help' => t('Output data based off of certain criteria'),
    'field' => array(
      'handler' => 'ViewsConditionalHandler',
    ),
  );
  return $data;
}