-
Notifications
You must be signed in to change notification settings - Fork 0
/
page_content.linkit_profiles.inc
112 lines (109 loc) · 2.59 KB
/
page_content.linkit_profiles.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?php
/**
* @file
* page_content.linkit_profiles.inc
*/
/**
* Implements hook_default_linkit_profiles().
*/
function page_content_default_linkit_profiles() {
$export = array();
$linkit_profile = new LinkitProfile();
$linkit_profile->disabled = FALSE; /* Edit this to true to make a default linkit_profile disabled initially */
$linkit_profile->api_version = 1;
$linkit_profile->name = 'global_fields';
$linkit_profile->admin_title = 'Global Fields';
$linkit_profile->admin_description = '';
$linkit_profile->profile_type = '2';
$linkit_profile->data = array(
'search_plugins' => array(
'entity:taxonomy_term' => array(
'enabled' => 0,
'weight' => '-10',
),
'entity:node' => array(
'enabled' => 1,
'weight' => '-10',
),
'entity:asset' => array(
'enabled' => 0,
'weight' => '-10',
),
'entity:file' => array(
'enabled' => 0,
'weight' => '-10',
),
'entity:user' => array(
'enabled' => 0,
'weight' => '-10',
),
),
'entity:asset' => array(
'result_description' => '',
'bundles' => array(
'file' => 0,
'image' => 0,
'slide' => 0,
'video' => 0,
),
'group_by_bundle' => 0,
),
'entity:node' => array(
'result_description' => '',
'include_unpublished' => 0,
),
'entity:file' => array(
'result_description' => '',
'show_scheme' => 0,
'group_by_scheme' => 0,
'url_type' => 'direct',
'image_extra_info' => array(
'thumbnail' => 'thumbnail',
'dimensions' => 'dimensions',
),
),
'entity:taxonomy_term' => array(
'result_description' => '',
),
'entity:user' => array(
'result_description' => '',
),
'insert_plugin' => array(
'plugin' => 'raw_url',
'url_method' => '1',
),
'attribute_plugins' => array(
'class' => array(
'enabled' => 0,
'weight' => '-10',
),
'title' => array(
'enabled' => 0,
'weight' => '-10',
),
'id' => array(
'enabled' => 0,
'weight' => '-10',
),
'accesskey' => array(
'enabled' => 0,
'weight' => '-10',
),
'target' => array(
'enabled' => 0,
'weight' => '-10',
),
'rel' => array(
'enabled' => 0,
'weight' => '-10',
),
),
'autocomplete' => array(
'charLimit' => '3',
'wait' => '350',
'remoteTimeout' => '10000',
),
);
$export['global_fields'] = $linkit_profile;
return $export;
}