public function GroupRole::getWeight in Group 8
Same name and namespace in other branches
- 2.0.x 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');
}