public function ProtectionRuleInterface::getProtectedEntityTypeId in User protect 8
Gets the protected entity type id.
Return value
string ID of the entity type that is protected.
1 method overrides ProtectionRuleInterface::getProtectedEntityTypeId()
- ProtectionRule::getProtectedEntityTypeId in src/
Entity/ ProtectionRule.php - Gets the protected entity type id.
File
- src/
Entity/ ProtectionRuleInterface.php, line 20
Class
- ProtectionRuleInterface
- Provides an interface defining a userprotect_rule entity.
Namespace
Drupal\userprotect\EntityCode
public function getProtectedEntityTypeId();