Mercurial > hg > rr-repo
comparison rrr_features.features.filter.inc @ 20:a0535331f47e
changed resources view
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Fri, 06 Dec 2013 11:36:04 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
19:664551cf9df2 | 20:a0535331f47e |
---|---|
1 <?php | |
2 /** | |
3 * @file | |
4 * rrr_features.features.filter.inc | |
5 */ | |
6 | |
7 /** | |
8 * Implements hook_filter_default_formats(). | |
9 */ | |
10 function rrr_features_filter_default_formats() { | |
11 $formats = array(); | |
12 | |
13 // Exported format: Full HTML. | |
14 $formats['full_html'] = array( | |
15 'format' => 'full_html', | |
16 'name' => 'Full HTML', | |
17 'cache' => 1, | |
18 'status' => 1, | |
19 'weight' => 0, | |
20 'filters' => array( | |
21 'filter_html_escape' => array( | |
22 'weight' => -10, | |
23 'status' => 1, | |
24 'settings' => array(), | |
25 ), | |
26 'biblio_filter_inline_reference' => array( | |
27 'weight' => 0, | |
28 'status' => 1, | |
29 'settings' => array(), | |
30 ), | |
31 'biblio_filter_reference' => array( | |
32 'weight' => 0, | |
33 'status' => 1, | |
34 'settings' => array(), | |
35 ), | |
36 'filter_autop' => array( | |
37 'weight' => 0, | |
38 'status' => 1, | |
39 'settings' => array(), | |
40 ), | |
41 'filter_url' => array( | |
42 'weight' => 0, | |
43 'status' => 1, | |
44 'settings' => array( | |
45 'filter_url_length' => 72, | |
46 ), | |
47 ), | |
48 'filter_htmlcorrector' => array( | |
49 'weight' => 10, | |
50 'status' => 1, | |
51 'settings' => array(), | |
52 ), | |
53 ), | |
54 ); | |
55 | |
56 // Exported format: Plain text. | |
57 $formats['plain_text'] = array( | |
58 'format' => 'plain_text', | |
59 'name' => 'Plain text', | |
60 'cache' => 1, | |
61 'status' => 1, | |
62 'weight' => 10, | |
63 'filters' => array( | |
64 'filter_html_escape' => array( | |
65 'weight' => 0, | |
66 'status' => 1, | |
67 'settings' => array(), | |
68 ), | |
69 'filter_url' => array( | |
70 'weight' => 1, | |
71 'status' => 1, | |
72 'settings' => array( | |
73 'filter_url_length' => 72, | |
74 ), | |
75 ), | |
76 'filter_autop' => array( | |
77 'weight' => 2, | |
78 'status' => 1, | |
79 'settings' => array(), | |
80 ), | |
81 ), | |
82 ); | |
83 | |
84 return $formats; | |
85 } |