features_test.features.filter.inc 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. /**
  3. * @file
  4. * features_test.features.filter.inc
  5. */
  6. /**
  7. * Implements hook_filter_default_formats().
  8. */
  9. function features_test_filter_default_formats() {
  10. $formats = array();
  11. // Exported format: features_test.
  12. $formats['features_test'] = array(
  13. 'format' => 'features_test',
  14. 'name' => 'features_test',
  15. 'cache' => 1,
  16. 'status' => 1,
  17. 'weight' => 0,
  18. 'filters' => array(
  19. 'filter_autop' => array(
  20. 'weight' => 10,
  21. 'status' => 1,
  22. 'settings' => array(),
  23. ),
  24. 'filter_html' => array(
  25. 'weight' => 10,
  26. 'status' => 1,
  27. 'settings' => array(
  28. 'allowed_html' => '<a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>',
  29. 'filter_html_help' => 1,
  30. 'filter_html_nofollow' => 0,
  31. ),
  32. ),
  33. 'filter_htmlcorrector' => array(
  34. 'weight' => 10,
  35. 'status' => 1,
  36. 'settings' => array(),
  37. ),
  38. 'filter_html_escape' => array(
  39. 'weight' => 10,
  40. 'status' => 1,
  41. 'settings' => array(),
  42. ),
  43. 'filter_url' => array(
  44. 'weight' => 10,
  45. 'status' => 1,
  46. 'settings' => array(
  47. 'filter_url_length' => 72,
  48. ),
  49. ),
  50. ),
  51. );
  52. return $formats;
  53. }