You are here

public function ProtectionRule::getProtectedEntityId in User protect 8

Gets the protected entity id.

Return value

string|int ID of the entity that is protected.

Overrides ProtectionRuleInterface::getProtectedEntityId

1 call to ProtectionRule::getProtectedEntityId()
ProtectionRule::getProtectedEntity in src/Entity/ProtectionRule.php
Gets the protected entity.

File

src/Entity/ProtectionRule.php, line 156

Class

ProtectionRule
Defines the Protection rule entity.

Namespace

Drupal\userprotect\Entity

Code

public function getProtectedEntityId() {
  return $this->protectedEntityId;
}