public function ProtectionRule::getProtectedEntityTypeId in User protect 8
Gets the protected entity type id.
Return value
string ID of the entity type that is protected.
Overrides ProtectionRuleInterface::getProtectedEntityTypeId
File
- src/
Entity/ ProtectionRule.php, line 128
Class
- ProtectionRule
- Defines the Protection rule entity.
Namespace
Drupal\userprotect\EntityCode
public function getProtectedEntityTypeId() {
return $this->protectedEntityTypeId;
}