You are here

function helper_is_tweak_enabled in Helper 7

7 calls to helper_is_tweak_enabled()
helper_honeypot_reject in ./helper.module
Implements hook_honeypot_reject().
helper_menu_alter in ./helper.module
Implements hook_menu_alter().
helper_node_load in ./helper.node.inc
Implements hook_node_load().
helper_node_view in ./helper.node.inc
Implements hook_node_view().
helper_preprocess_comment in ./helper.module
Implements hook_preprocess_comment().

... See full list

File

./helper.module, line 81

Code

function helper_is_tweak_enabled($tweak) {
  $tweaks = helper_get_tweaks();
  return !empty($tweaks[$tweak]['enabled']);
}