first import

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2013-01-09 10:53:26 +01:00
commit b20b38f514
526 changed files with 76993 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
<?php
/**
* @file
* Views wizard for comment views.
*/
// Parent plugin.
if (module_exists('comment')) {
$plugin = array(
'name' => 'comment',
'base_table' => 'comment',
'created_column' => 'created',
'form_wizard_class' => array(
'file' => 'views_ui_comment_views_wizard.class.php',
'class' => 'ViewsUiCommentViewsWizard',
),
'title' => t('Comments'),
'filters' => array(
'status' => array(
'value' => COMMENT_PUBLISHED,
'table' => 'comment',
'field' => 'status',
),
'status_node' => array(
'value' => NODE_PUBLISHED,
'table' => 'node',
'field' => 'status',
'relationship' => 'nid',
),
),
'path_field' => array(
'id' => 'cid',
'table' => 'comment',
'field' => 'cid',
'exclude' => TRUE,
'link_to_comment' => FALSE,
'alter' => array(
'alter_text' => 1,
'text' => 'comment/[cid]#comment-[cid]',
),
),
);
}