-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_views.views.inc
95 lines (84 loc) · 1.85 KB
/
config_views.views.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?php
/**
* @file
* Provide views data for dblog.module.
*/
/**
* Implements hook_views_data().
*/
function config_views_views_data() {
$data = array();
$data['config_views']['table']['group'] = t('Configuration');
$data['config_views']['table']['wizard_id'] = 'config_entity';
$data['config_views']['table']['base'] = array(
'query_id' => 'config_entity_query',
'field' => 'id',
'title' => t('Configuration Entity'),
'help' => t('Contains list of configuration entities.'),
);
$data['config_views']['id'] = array(
'title' => t('Machine name'),
'help' => t('Unique configuration entity ID.'),
'field' => array(
'id' => 'config_entity',
),
'filter' => array(
'id' => 'string',
),
'argument' => array(
'id' => 'string',
),
'sort' => array(
'id' => 'standard',
),
'search' => array(
'id' => 'standard',
),
);
$data['config_views']['name'] = array(
'title' => t('Name'),
'help' => t('Name'),
'field' => array(
'id' => 'config_entity',
),
'filter' => array(
'id' => 'string',
),
'argument' => array(
'id' => 'string',
),
'sort' => array(
'id' => 'standard',
),
'search' => array(
'id' => 'standard',
),
);
$data['config_views']['description'] = array(
'title' => t('Description'),
'help' => t('Description'),
'field' => array(
'id' => 'config_entity',
),
'filter' => array(
'id' => 'string',
),
'argument' => array(
'id' => 'string',
),
'sort' => array(
'id' => 'standard',
),
'search' => array(
'id' => 'standard',
),
);
$data['config_views']['operation'] = array(
'title' => t('Operations'),
'help' => t('Operations'),
'field' => array(
'id' => 'config_entity',
),
);
return $data;
}