function ds_kill_switch in Display Suite 7
Same name and namespace in other branches
- 7.2 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 400 - Display Suite core functions.
Code
function ds_kill_switch() {
if (variable_get('ds_disable', FALSE)) {
return TRUE;
}
return FALSE;
}