You are here

public function UserRestrictions::getAccessType in User restrictions 8

Get the type of restriction.

Return value

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

Overrides UserRestrictionInterface::getAccessType

File

src/Entity/UserRestrictions.php, line 129

Class

UserRestrictions
Defines an image style configuration entity.

Namespace

Drupal\user_restrictions\Entity

Code

public function getAccessType() {
  return $this->access_type;
}