public function GroupRole::getWeight in Group 2.0.x
Same name and namespace in other branches
- 8 src/Entity/GroupRole.php \Drupal\group\Entity\GroupRole::getWeight()
Returns the weight.
Return value
int The weight of this role.
Overrides GroupRoleInterface::getWeight
File
- src/
Entity/ GroupRole.php, line 139
Class
- GroupRole
- Defines the Group role configuration entity.
Namespace
Drupal\group\EntityCode
public function getWeight() {
return $this
->get('weight');
}