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