function language_sections_format_check in Language Sections 6.2
Same name and namespace in other branches
- 7.2 language_sections.module \language_sections_format_check()
File
- ./
language_sections.module, line 343
Code
function language_sections_format_check($format) {
static $formats;
if (!isset($formats[$format])) {
$formats[$format] = false;
$filters = filter_list_format($format);
foreach ($filters as $filter) {
if ($filter->module == 'language_sections') {
$formats[$format] = true;
break;
}
}
}
return $formats[$format];
}