function language_sections_format_check in Language Sections 7.2
Same name and namespace in other branches
- 6.2 language_sections.module \language_sections_format_check()
File
- ./
language_sections.module, line 367
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];
}