Created
September 7, 2016 16:07
-
-
Save batigolix/4cf9866ec8473b9690a4f95de765d8de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$contexts = variable_get('context_status', array()); | |
$disable = array('homepage','sitewide','dae_search_empty','webmasters','no_twitter','workbench_moderate_all','go-to-market','newsroom_events','communities_audence_link','digital_champion_newsroom','grand_coalition_pledge','workbench_moderate_all'); | |
foreach($disable as $item) { | |
$contexts[$item] = TRUE; | |
} | |
variable_set('context_status', $contexts); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment