You are here

function patterns_utils_is_macro_enabled in Patterns 7.2

Same name and namespace in other branches
  1. 7 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;
}