function patterns_utils_is_macro_enabled in Patterns 7
Same name and namespace in other branches
- 7.2 includes/utils.inc \patterns_utils_is_macro_enabled()
@file Collectiion of general purpose functions.
File
- includes/
utils.inc, line 8 - Collectiion of general purpose functions.
Code
function patterns_utils_is_macro_enabled() {
$list = module_list();
return isset($list["macro"]) ? TRUE : FALSE;
}