public function BadgeInterface::getBadgeRoleIds in User Badges 8
Gets the Role id associated with Badge.
Return value
integer Role id of role associated with Badge
1 method overrides BadgeInterface::getBadgeRoleIds()
- Badge::getBadgeRoleIds in src/
Entity/ Badge.php - Gets the Role id associated with Badge.
File
- src/
BadgeInterface.php, line 72 - Contains \Drupal\user_badges\BadgeInterface.
Class
- BadgeInterface
- Provides an interface for defining Badge entities.
Namespace
Drupal\user_badgesCode
public function getBadgeRoleIds();