protected property ProtectionRule::$protectedEntityTypeId in User protect 8
The entity type the protection applies for.
Can be "user" or "user_role".
Type: string
File
- src/
Entity/ ProtectionRule.php, line 80
Class
- ProtectionRule
- Defines the Protection rule entity.
Namespace
Drupal\userprotect\EntityCode
protected $protectedEntityTypeId = 'user_role';