-
Notifications
You must be signed in to change notification settings - Fork 0
/
os_base.features.filter.inc
120 lines (115 loc) · 2.71 KB
/
os_base.features.filter.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
113
114
115
116
117
118
119
120
<?php
/**
* @file
* os_base.features.filter.inc
*/
/**
* Implements hook_filter_default_formats().
*/
function os_base_filter_default_formats() {
$formats = array();
// Exported format: Filtered HTML.
$formats['filtered_html'] = array(
'format' => 'filtered_html',
'name' => 'Filtered HTML',
'cache' => '1',
'status' => '1',
'weight' => '1',
'filters' => array(
'filter_url' => array(
'weight' => '0',
'status' => '1',
'settings' => array(
'filter_url_length' => 72,
),
),
'filter_html' => array(
'weight' => '1',
'status' => '1',
'settings' => array(
'allowed_html' => '<p> <br> <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>',
'filter_html_help' => 1,
'filter_html_nofollow' => 0,
),
),
'filter_autop' => array(
'weight' => '2',
'status' => '1',
'settings' => array(),
),
'filter_htmlcorrector' => array(
'weight' => '10',
'status' => '1',
'settings' => array(),
),
),
);
// Exported format: Full HTML.
$formats['full_html'] = array(
'format' => 'full_html',
'name' => 'Full HTML',
'cache' => '1',
'status' => '1',
'weight' => '0',
'filters' => array(
'filter_url' => array(
'weight' => '0',
'status' => '1',
'settings' => array(
'filter_url_length' => '72',
),
),
'image_resize_filter' => array(
'weight' => '0',
'status' => '1',
'settings' => array(
'link' => 0,
'link_class' => '',
'link_rel' => '',
'image_locations' => array(
'local' => 'local',
'remote' => 0,
),
),
),
'media_filter' => array(
'weight' => '2',
'status' => '1',
'settings' => array(),
),
'filter_htmlcorrector' => array(
'weight' => '10',
'status' => '1',
'settings' => array(),
),
),
);
// Exported format: Plain text.
$formats['plain_text'] = array(
'format' => 'plain_text',
'name' => 'Plain text',
'cache' => '1',
'status' => '1',
'weight' => '10',
'filters' => array(
'filter_html_escape' => array(
'weight' => '0',
'status' => '1',
'settings' => array(),
),
'filter_url' => array(
'weight' => '1',
'status' => '1',
'settings' => array(
'filter_url_length' => 72,
),
),
'filter_autop' => array(
'weight' => '2',
'status' => '1',
'settings' => array(),
),
),
);
return $formats;
}