You are here

public function ProtectionRuleInterface::getPermissionName in User protect 8

Returns the name of the permission to bypass the protection rule.

Return value

string The permission name.

1 method overrides ProtectionRuleInterface::getPermissionName()
ProtectionRule::getPermissionName in src/Entity/ProtectionRule.php
Returns the name of the permission to bypass the protection rule.

File

src/Entity/ProtectionRuleInterface.php, line 143

Class

ProtectionRuleInterface
Provides an interface defining a userprotect_rule entity.

Namespace

Drupal\userprotect\Entity

Code

public function getPermissionName();