You are here

function hook_markdown_compatible_filters_alter in Markdown 3.0.x

Same name and namespace in other branches
  1. 8.2 markdown.api.php \hook_markdown_compatible_filters_alter()

Allows modules to alter the list of incompatible filters.

Parameters

array $compatibleFilters: An associative array of compatible filters, where the key is the filter identifier and the value is a boolean: TRUE if compatible, FALSE otherwise.

1 invocation of hook_markdown_compatible_filters_alter()
markdown_form_filter_format_edit_form_alter in ./markdown.module
Implements hook_form_FORM_ID_alter().

File

./markdown.api.php, line 15
Hooks and alters provided by the Markdown module.

Code

function hook_markdown_compatible_filters_alter(array &$compatibleFilters) {

  // Re-enable the HTML Corrector filter as compatible.
  $compatibleFilters['filter_htmlcorrector'] = TRUE;
}