public function ogGroupOrphanPost::postList in Organic groups 7
Same name and namespace in other branches
- 7.2 scripts/generate-og-d6-content.php \ogGroupOrphanPost::postList()
File
- scripts/
generate-og-d6-content.php, line 178
Class
- ogGroupOrphanPost
- A group post not associated to any other group.
Code
public function postList($user_ids, $groups) {
$list = array();
$list[] = array(
'title' => 'group-posts-orphan',
'uid' => $user_ids[3],
'body' => 'group posts orphan',
'og_groups' => array(),
);
return $list;
}