123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?php
- /**
- * @file
- * admin.features.filter.inc
- */
- /**
- * Implements hook_filter_default_formats().
- */
- function admin_filter_default_formats() {
- $formats = array();
- // Exported format: Filtred html.
- $formats['filtred_html'] = array(
- 'format' => 'filtred_html',
- 'name' => 'Filtred html',
- 'cache' => 1,
- 'status' => 1,
- 'weight' => 0,
- '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> <p> <br> <img> <h6> <h5> <h4> <h3> <h2> <h1>',
- 'filter_html_help' => 1,
- 'filter_html_nofollow' => 0,
- ),
- ),
- 'filter_url' => array(
- 'weight' => 0,
- 'status' => 1,
- 'settings' => array(
- 'filter_url_length' => 72,
- ),
- ),
- ),
- );
- // 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;
- }
|