public Role::getPermissions() Returns a
The permissions belonging to this role. Type:
The machine name of this role. Type: string File co
public Role::isAdmin() Indicates that a
public static Role::postLoad(EntityStorageInterface $storage, array &$entities)
public Role::getWeight() Returns the weight
public Role::preSave(EntityStorageInterface $storage)
public Role::setWeight($weight) Sets the
public Role::hasPermission($permission) Checks
An indicator whether the role has all permissions. Type: bool File
Page 1 of 2