function filter_views_data

Same name in other branches
  1. 7.x-3.x modules/filter.views.inc \filter_views_data()

Implementation of hook_views_data()

Related topics

File

modules/filter.views.inc, line 17

Code

function filter_views_data() {
    // ----------------------------------------------------------------------
    // filter_formats table
    // Have not defined $data['filter_formats']['table']['group'] since
    // no fields are defined here yet.
    $data['filter_formats']['table']['join'] = array(
        'node_revisions' => array(
            'left_field' => 'format',
            'field' => 'format',
        ),
        'node' => array(
            'left_table' => 'node_revisions',
            'left_field' => 'format',
            'field' => 'format',
        ),
    );
    return $data;
}