Created
October 17, 2013 19:20
-
-
Save brycefisher/7030684 to your computer and use it in GitHub Desktop.
Create Related Partner Nodequeue
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
| /** | |
| * Create a nodequeue. | |
| */ | |
| function _brightcove_marketing_solutions_create_nodequeue() { | |
| $nodequeue = new stdClass; | |
| // $nodequeue->api_version = 2; | |
| $nodequeue->name = 'marketing_solutions_related_partners'; | |
| $nodequeue->title = 'Marketing solutions - related partners'; | |
| $nodequeue->subqueue_title = ''; | |
| $nodequeue->size = 0; | |
| $nodequeue->link = 'Add to related partners'; | |
| $nodequeue->link_remove = 'Remove from related partners'; | |
| $nodequeue->owner = 'nodequeue'; | |
| $nodequeue->show_in_ui = 1; | |
| $nodequeue->show_in_tab = 1; | |
| $nodequeue->show_in_links = 1; | |
| $nodequeue->reference = '0'; | |
| $nodequeue->reverse = 0; | |
| $nodequeue->i18n = 1; | |
| $nodequeue->roles = array(); | |
| $nodequeue->types = array( | |
| 0 => 'partner', | |
| ); | |
| $nodequeue->add_subqueue = array( | |
| 1 => 'Related partners', | |
| ); | |
| nodequeue_save($nodequeue); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment