forked from ding2/ding_content
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathding_content.features.filter.inc
More file actions
56 lines (53 loc) · 1.25 KB
/
ding_content.features.filter.inc
File metadata and controls
56 lines (53 loc) · 1.25 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
<?php
/**
* @file
* ding_content.features.filter.inc
*/
/**
* Implements hook_filter_default_formats().
*/
function ding_content_filter_default_formats() {
$formats = array();
// Exported format: Wysiwyg.
$formats['ding_wysiwyg'] = array(
'format' => 'ding_wysiwyg',
'name' => 'Wysiwyg',
'cache' => 1,
'status' => 1,
'weight' => 0,
'filters' => array(
'filter_html' => array(
'weight' => -10,
'status' => 1,
'settings' => array(
'allowed_html' => '<a> <p> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <th> <td> <br>',
'filter_html_help' => 1,
'filter_html_nofollow' => 0,
),
),
'filter_autop' => array(
'weight' => 0,
'status' => 1,
'settings' => array(),
),
'filter_url' => array(
'weight' => 0,
'status' => 1,
'settings' => array(
'filter_url_length' => 72,
),
),
'media_filter' => array(
'weight' => 2,
'status' => 1,
'settings' => array(),
),
'filter_htmlcorrector' => array(
'weight' => 10,
'status' => 1,
'settings' => array(),
),
),
);
return $formats;
}