non security modules update
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Provides the view implementation.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_views_data().
|
||||
*/
|
||||
@@ -8,8 +13,8 @@ function faq_views_data() {
|
||||
$data['faq_questions']['table']['group'] = t('FAQ');
|
||||
$data['faq_questions']['table']['join'] = array(
|
||||
'node' => array(
|
||||
'left_field' => 'nid',
|
||||
'field' => 'nid',
|
||||
'left_field' => 'vid',
|
||||
'field' => 'vid',
|
||||
),
|
||||
);
|
||||
$data['faq_questions']['question'] = array(
|
||||
@@ -41,7 +46,6 @@ function faq_views_data() {
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
// faq_weights table.
|
||||
$data['faq_weights']['table']['group'] = t('FAQ');
|
||||
$data['faq_weights']['table']['join'] = array(
|
||||
@@ -124,4 +128,3 @@ function faq_views_data() {
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
function faq_views_default_views() {
|
||||
$export = array();
|
||||
|
||||
$view = new view;
|
||||
$view = new view();
|
||||
$view->name = 'faq';
|
||||
$view->description = 'FAQ listings';
|
||||
$view->tag = 'default';
|
||||
@@ -417,4 +417,3 @@ function faq_views_default_views() {
|
||||
|
||||
return $export;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user