You are here

public function UserRestrictions::getRuleType in User restrictions 8

Get the ID of the restrictions rule type.

Return value

string ID of restriction type.

Overrides UserRestrictionInterface::getRuleType

See also

\Drupal\user_restrictions\Plugin\UserRestrictionTypeInterface

File

src/Entity/UserRestrictions.php, line 136

Class

UserRestrictions
Defines an image style configuration entity.

Namespace

Drupal\user_restrictions\Entity

Code

public function getRuleType() {
  return $this->rule_type;
}