You are here

public function UserRestrictionInterface::getAccessType in User restrictions 8

Get the type of restriction.

Return value

int Either UserRestrictions::BLACKLIST or UserRestrictions::WHITELIST.

1 method overrides UserRestrictionInterface::getAccessType()
UserRestrictions::getAccessType in src/Entity/UserRestrictions.php
Get the type of restriction.

File

src/Entity/UserRestrictionInterface.php, line 32

Class

UserRestrictionInterface
Defines the interface for UserRestriction entities.

Namespace

Drupal\user_restrictions\Entity

Code

public function getAccessType();