public function ProtectionRuleInterface::getBypassRoles in User protect 8
Returns a list of roles that may bypass this protection rule.
Return value
array A list of role names.
1 method overrides ProtectionRuleInterface::getBypassRoles()
- ProtectionRule::getBypassRoles in src/
Entity/ ProtectionRule.php - Returns a list of roles that may bypass this protection rule.
File
- src/
Entity/ ProtectionRuleInterface.php, line 124
Class
- ProtectionRuleInterface
- Provides an interface defining a userprotect_rule entity.
Namespace
Drupal\userprotect\EntityCode
public function getBypassRoles();