<?php

/**
 * @file
 * mathsplain_feature.features.filter.inc
 */

/**
 * Implements hook_filter_default_formats().
 */
function mathsplain_feature_filter_default_formats() {
  $formats = array();

  // Exported format: Filtered HTML.
  $formats['filtered_html'] = array(
    'format' => 'filtered_html',
    'name' => 'Filtered HTML',
    'cache' => 1,
    'status' => 1,
    'weight' => -6,
    'filters' => array(
      'emptyparagraphkiller' => array(
        'weight' => 0,
        'status' => 1,
        'settings' => array(),
      ),
      'filter_url' => array(
        'weight' => 0,
        'status' => 1,
        'settings' => array(
          'filter_url_length' => 72,
        ),
      ),
      'filter_html' => array(
        'weight' => 1,
        'status' => 1,
        'settings' => array(
          'allowed_html' => '<a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>',
          'filter_html_help' => 1,
          'filter_html_nofollow' => 0,
        ),
      ),
      'filter_autop' => array(
        'weight' => 2,
        'status' => 1,
        'settings' => array(),
      ),
      'filter_htmlcorrector' => array(
        'weight' => 10,
        'status' => 1,
        'settings' => array(),
      ),
      'word_link' => array(
        'weight' => 15,
        'status' => 1,
        'settings' => array(
          'word_link_highlight' => 0,
          'word_link_wrap_tag' => NULL,
          'word_link_boundary' => 0,
          'word_link_tags_except' => '<h1> <h2> <h3> <h4> <h5> <h6> <code>',
          'word_link_content_types' => array(
            'article' => 'article',
            'page' => 'page',
            'matching' => 'matching',
            'quiz' => 'quiz',
            'quiz_directions' => 'quiz_directions',
            'promobar' => 'promobar',
            'testimonial' => 'testimonial',
            'multichoice' => 'multichoice',
            'educational_materials' => 'educational_materials',
            'faqs' => 'faqs',
            'pdf' => 'pdf',
            'video' => 'video',
          ),
        ),
      ),
      'pathologic' => array(
        'weight' => 50,
        'status' => 1,
        'settings' => array(
          'settings_source' => 'global',
          'local_paths' => '',
          'protocol_style' => 'full',
          'local_settings' => array(
            'protocol_style' => 'full',
            'local_paths' => '',
          ),
        ),
      ),
    ),
  );

  // Exported format: Full HTML.
  $formats['full_html'] = array(
    'format' => 'full_html',
    'name' => 'Full HTML',
    'cache' => 0,
    'status' => 1,
    'weight' => -10,
    'filters' => array(
      'emptyparagraphkiller' => array(
        'weight' => 0,
        'status' => 1,
        'settings' => array(),
      ),
      'filter_url' => array(
        'weight' => 0,
        'status' => 1,
        'settings' => array(
          'filter_url_length' => 72,
        ),
      ),
      'nbsp_filter' => array(
        'weight' => 0,
        'status' => 1,
        'settings' => array(),
      ),
      'filter_tokens' => array(
        'weight' => 0,
        'status' => 1,
        'settings' => array(),
      ),
      'filter_htmlcorrector' => array(
        'weight' => 10,
        'status' => 1,
        'settings' => array(),
      ),
      'word_link' => array(
        'weight' => 15,
        'status' => 1,
        'settings' => array(
          'word_link_highlight' => 0,
          'word_link_wrap_tag' => '',
          'word_link_boundary' => 0,
          'word_link_tags_except' => '<h1> <h2> <h3> <h4> <h5> <h6> <code>',
          'word_link_content_types' => array(
            'page' => 'page',
            'article' => 'article',
            'university' => 'university',
            'quiz' => 'quiz',
            'multichoice' => 'multichoice',
            'university_course' => 'university_course',
            'syllabus' => 'syllabus',
            'testimonial' => 'testimonial',
            'educational_materials' => 'educational_materials',
            'faqs' => 'faqs',
            'pdf' => 'pdf',
            'video' => 'video',
            'faculty' => 0,
            'promobar' => 0,
            'short_answer' => 0,
          ),
        ),
      ),
      'filter_mathjax' => array(
        'weight' => 50,
        'status' => 1,
        'settings' => array(),
      ),
      'pathologic' => array(
        'weight' => 50,
        'status' => 1,
        'settings' => array(
          'settings_source' => 'global',
          'local_paths' => '',
          'protocol_style' => 'full',
          'local_settings' => array(
            'protocol_style' => 'full',
            'local_paths' => '',
          ),
        ),
      ),
    ),
  );

  // Exported format: Full HTML (nbspfilter excluded).
  $formats['full_html_nbspfilter_excluded_'] = array(
    'format' => 'full_html_nbspfilter_excluded_',
    'name' => 'Full HTML (nbspfilter excluded)',
    'cache' => 0,
    'status' => 1,
    'weight' => -8,
    'filters' => array(
      'emptyparagraphkiller' => array(
        'weight' => 0,
        'status' => 1,
        'settings' => array(),
      ),
      'filter_url' => array(
        'weight' => 0,
        'status' => 1,
        'settings' => array(
          'filter_url_length' => 72,
        ),
      ),
      'filter_tokens' => array(
        'weight' => 0,
        'status' => 1,
        'settings' => array(),
      ),
      'filter_htmlcorrector' => array(
        'weight' => 10,
        'status' => 1,
        'settings' => array(),
      ),
      'word_link' => array(
        'weight' => 15,
        'status' => 1,
        'settings' => array(
          'word_link_highlight' => 0,
          'word_link_wrap_tag' => '',
          'word_link_boundary' => 0,
          'word_link_tags_except' => '<h1> <h2> <h3> <h4> <h5> <h6> <code>',
          'word_link_content_types' => array(
            'article' => 0,
            'page' => 0,
            'university' => 0,
            'exercises' => 0,
            'h5p_content' => 0,
            'faculty' => 0,
            'formula' => 0,
            'multichoice' => 0,
            'promobar' => 0,
            'quiz' => 0,
            'short_answer' => 0,
            'sutty' => 0,
            'university_course' => 0,
            'syllabus' => 0,
            'testimonial' => 0,
            'educational_materials' => 0,
            'faqs' => 0,
            'pdf' => 0,
            'video' => 0,
          ),
        ),
      ),
      'filter_mathjax' => array(
        'weight' => 50,
        'status' => 1,
        'settings' => array(),
      ),
      'pathologic' => array(
        'weight' => 50,
        'status' => 1,
        'settings' => array(
          'settings_source' => 'global',
          'local_paths' => '',
          'protocol_style' => 'full',
          'local_settings' => array(
            'protocol_style' => 'full',
            'local_paths' => '',
          ),
        ),
      ),
    ),
  );

  // Exported format: Full HTML (word link excluded).
  $formats['full_html_word_link_excluded_'] = array(
    'format' => 'full_html_word_link_excluded_',
    'name' => 'Full HTML (word link excluded)',
    'cache' => 0,
    'status' => 1,
    'weight' => -9,
    'filters' => array(
      'emptyparagraphkiller' => array(
        'weight' => 0,
        'status' => 1,
        'settings' => array(),
      ),
      'filter_url' => array(
        'weight' => 0,
        'status' => 1,
        'settings' => array(
          'filter_url_length' => 72,
        ),
      ),
      'filter_tokens' => array(
        'weight' => 0,
        'status' => 1,
        'settings' => array(),
      ),
      'filter_htmlcorrector' => array(
        'weight' => 10,
        'status' => 1,
        'settings' => array(),
      ),
      'pathologic' => array(
        'weight' => 50,
        'status' => 1,
        'settings' => array(
          'settings_source' => 'global',
          'local_paths' => '',
          'protocol_style' => 'full',
          'local_settings' => array(
            'protocol_style' => 'full',
            'local_paths' => '',
          ),
        ),
      ),
    ),
  );

  return $formats;
}
