Created
May 30, 2016 12:03
-
-
Save RoySegall/669b409fc4ddca0b9238d9fd1bea1572 to your computer and use it in GitHub Desktop.
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
<?php | |
/** | |
* @file | |
* pipeline_action.install | |
*/ | |
/** | |
* Adding new roles to the a group. | |
*/ | |
function pipeline_og_update_7000() { | |
$role = og_role_create('Foo', 'node', 0, 'action'); | |
og_role_save($role); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment