Created
December 8, 2011 08:18
-
-
Save stewsnooze/1446447 to your computer and use it in GitHub Desktop.
Adding a relevant content block in code
This file contains 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
/** | |
* Update 6014: Set relevant content blocks active | |
*/ | |
function ff_update_6014() { | |
$rc = array( | |
'video_nodes' => array( | |
'types' => array('video' => 'video'), | |
'vocabs' => array( | |
'1' => '1', | |
'limit' => 5, | |
'header_text' => '', | |
'token_settings' => '', | |
) | |
) | |
); | |
variable_set('relevant_content', $rc); | |
return array(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment