You are here

protected property ProtectionRule::$bypassRoles in User protect 8

List of user role IDs to that may bypass this protection rule.

This property is saved as user permissions.

Type: array

File

src/Entity/ProtectionRule.php, line 116

Class

ProtectionRule
Defines the Protection rule entity.

Namespace

Drupal\userprotect\Entity

Code

protected $bypassRoles = [];