You are here

public function MembershipManagerInterface::isMemberBlocked in Organic groups 8

Returns whether an entity belongs to a group with a blocked status.

Parameters

\Drupal\Core\Entity\EntityInterface $group: The group entity.

int $user_id: The ID of the user to test the membership for.

Return value

bool True if the membership is blocked.

See also

\Drupal\og\Og::isMember

1 method overrides MembershipManagerInterface::isMemberBlocked()
MembershipManager::isMemberBlocked in src/MembershipManager.php
Returns whether an entity belongs to a group with a blocked status.

File

src/MembershipManagerInterface.php, line 317

Class

MembershipManagerInterface
Membership manager interface.

Namespace

Drupal\og

Code

public function isMemberBlocked(EntityInterface $group, $user_id);