You are here

function _syntaxhighlighter_format_has_syntaxhighlighter_filter in Syntax Highlighter 7.2

Same name and namespace in other branches
  1. 8 syntaxhighlighter.module \_syntaxhighlighter_format_has_syntaxhighlighter_filter()
  2. 7 syntaxhighlighter.module \_syntaxhighlighter_format_has_syntaxhighlighter_filter()
2 calls to _syntaxhighlighter_format_has_syntaxhighlighter_filter()
syntaxhighlighter_node_validate in ./syntaxhighlighter.module
Validate on the node input text to be sure there is no bad {syntaxhighlighter} tags
_syntaxhighlighter_comment_validate in ./syntaxhighlighter.module
Validate on comment input text to be sure there is no bad {syntaxhighlighter} tags

File

./syntaxhighlighter.module, line 460
Syntax highlight code using the Syntaxhighlighter javascript library. See http://alexgorbatchev.com/wiki/SyntaxHighlighter

Code

function _syntaxhighlighter_format_has_syntaxhighlighter_filter($format_id) {
  return array_key_exists('syntaxhighlighter', filter_list_format($format_id));
}