public function OgRole::setGroupBundle in Organic groups 8
Sets the group bundle.
Parameters
string $group_bundle: The group bundle to set.
Return value
$this
Overrides OgRoleInterface::setGroupBundle
File
- src/
Entity/ OgRole.php, line 115
Class
- OgRole
- Defines the OG user role entity class.
Namespace
Drupal\og\EntityCode
public function setGroupBundle($group_bundle) {
$this
->set('group_bundle', $group_bundle);
return $this;
}