interface MemberInterface

Member interface.

Methods

bool
isMemberOf(array|int|string $group)

Returns TRUE if a user is a member of the group(s) and FALSE if not.

Details

at line 21
bool isMemberOf(array|int|string $group)

Returns TRUE if a user is a member of the group(s) and FALSE if not.

Parameters

array|int|string $group Group name, group id or an array of group names or group ids

Return Value

bool