You are here

function ds_kill_switch in Display Suite 7.2

Same name and namespace in other branches
  1. 7 ds.module \ds_kill_switch()

Function to check if we go on with Display Suite.

1 call to ds_kill_switch()
ds_field_attach_view_alter in ./ds.module
Implements hook_field_attach_view_alter().

File

./ds.module, line 178
Display Suite core functions.

Code

function ds_kill_switch() {
  if (variable_get('ds_disable', FALSE)) {
    return TRUE;
  }
  return FALSE;
}