You are here

public function ogGroupPostMultipleGroups::groupList in Organic groups 7

Same name and namespace in other branches
  1. 7.2 scripts/generate-og-d6-content.php \ogGroupPostMultipleGroups::groupList()

File

scripts/generate-og-d6-content.php, line 197

Class

ogGroupPostMultipleGroups
A group post associated with two groups.

Code

public function groupList($user_ids) {
  $list = array();
  $list['alpha'] = array(
    'title' => 'group-alpha',
    'uid' => $user_ids[3],
    'body' => 'group alpha',
    'og_description' => 'description group alpha.',
  );
  $list['beta'] = array(
    'title' => 'group-beta',
    'uid' => $user_ids[3],
    'body' => 'group beta',
    'og_description' => 'description group beta.',
  );
  return $list;
}