first import
This commit is contained in:
35
sites/all/modules/views/plugins/views_wizard/users.inc
Normal file
35
sites/all/modules/views/plugins/views_wizard/users.inc
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Views wizard for user views.
|
||||
*/
|
||||
|
||||
$plugin = array(
|
||||
'name' => 'users',
|
||||
'base_table' => 'users',
|
||||
'created_column' => 'created',
|
||||
'form_wizard_class' => array(
|
||||
'file' => 'views_ui_users_views_wizard.class.php',
|
||||
'class' => 'ViewsUiUsersViewsWizard',
|
||||
),
|
||||
'title' => t('Users'),
|
||||
'filters' => array(
|
||||
'status' => array(
|
||||
'value' => '1',
|
||||
'table' => 'users',
|
||||
'field' => 'status',
|
||||
),
|
||||
),
|
||||
'path_field' => array(
|
||||
'id' => 'uid',
|
||||
'table' => 'users',
|
||||
'field' => 'uid',
|
||||
'exclude' => TRUE,
|
||||
'link_to_user' => FALSE,
|
||||
'alter' => array(
|
||||
'alter_text' => 1,
|
||||
'text' => 'user/[uid]',
|
||||
),
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user