Mercurial > hg > rr-repo
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rrr_features.features.filter.inc Fri Dec 06 11:36:04 2013 +0000 @@ -0,0 +1,85 @@ +<?php +/** + * @file + * rrr_features.features.filter.inc + */ + +/** + * Implements hook_filter_default_formats(). + */ +function rrr_features_filter_default_formats() { + $formats = array(); + + // Exported format: Full HTML. + $formats['full_html'] = array( + 'format' => 'full_html', + 'name' => 'Full HTML', + 'cache' => 1, + 'status' => 1, + 'weight' => 0, + 'filters' => array( + 'filter_html_escape' => array( + 'weight' => -10, + 'status' => 1, + 'settings' => array(), + ), + 'biblio_filter_inline_reference' => array( + 'weight' => 0, + 'status' => 1, + 'settings' => array(), + ), + 'biblio_filter_reference' => array( + 'weight' => 0, + 'status' => 1, + 'settings' => array(), + ), + 'filter_autop' => array( + 'weight' => 0, + 'status' => 1, + 'settings' => array(), + ), + 'filter_url' => array( + 'weight' => 0, + 'status' => 1, + 'settings' => array( + 'filter_url_length' => 72, + ), + ), + '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; +}