forked from OS2web/os2web_base
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathos2web_base.features.filter.inc
More file actions
81 lines (75 loc) · 1.75 KB
/
os2web_base.features.filter.inc
File metadata and controls
81 lines (75 loc) · 1.75 KB
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
<?php
/**
* @file
* os2web_base.features.filter.inc
*/
/**
* Implements hook_filter_default_formats().
*/
function os2web_base_filter_default_formats() {
$formats = array();
// Exported format: Blokindhold.
$formats['blokindhold'] = array(
'format' => 'blokindhold',
'name' => 'Blokindhold',
'cache' => 1,
'status' => 1,
'weight' => -7,
'filters' => array(
'filter_html' => array(
'weight' => -10,
'status' => 1,
'settings' => array(
'allowed_html' => '<a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <span> <div> <b> <br> <table> <tr> <td>',
'filter_html_help' => 1,
'filter_html_nofollow' => 0,
),
),
'filter_url' => array(
'weight' => 0,
'status' => 1,
'settings' => array(
'filter_url_length' => 60,
),
),
'media_filter' => array(
'weight' => 2,
'status' => 1,
'settings' => array(),
),
'filter_htmlcorrector' => array(
'weight' => 10,
'status' => 1,
'settings' => array(),
),
),
);
// Exported format: PHP code.
$formats['php_code'] = array(
'format' => 'php_code',
'name' => 'PHP code',
'cache' => 1,
'status' => 1,
'weight' => -6,
'filters' => array(),
);
// Exported format: Plain text.
$formats['plain_text'] = array(
'format' => 'plain_text',
'name' => 'Plain text',
'cache' => 1,
'status' => 1,
'weight' => -8,
'filters' => array(),
);
// Exported format: Raw.
$formats['raw'] = array(
'format' => 'raw',
'name' => 'Raw',
'cache' => 1,
'status' => 1,
'weight' => 0,
'filters' => array(),
);
return $formats;
}