You are here

public function MembershipManagerInterface::isMemberPending in Organic groups 8

Returns whether a user belongs to a group with a pending status.

Parameters

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

int $user_id: The ID of the user.

Return value

bool True if the membership is pending.

See also

\Drupal\og\Og::isMember

1 method overrides MembershipManagerInterface::isMemberPending()
MembershipManager::isMemberPending in src/MembershipManager.php
Returns whether a user belongs to a group with a pending status.

File

src/MembershipManagerInterface.php, line 302

Class

MembershipManagerInterface
Membership manager interface.

Namespace

Drupal\og

Code

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