You are here

public function UserRestrictionInterface::getRuleType in User restrictions 8

Get the ID of the restrictions rule type.

Return value

string ID of restriction type.

See also

\Drupal\user_restrictions\Plugin\UserRestrictionTypeInterface

1 method overrides UserRestrictionInterface::getRuleType()
UserRestrictions::getRuleType in src/Entity/UserRestrictions.php
Get the ID of the restrictions rule type.

File

src/Entity/UserRestrictionInterface.php, line 42

Class

UserRestrictionInterface
Defines the interface for UserRestriction entities.

Namespace

Drupal\user_restrictions\Entity

Code

public function getRuleType();