You are here

public function PendingOgMembership::getTargetState in Organic groups 8

Returns the state the membership will have after the action is executed.

Return value

string One of the following:

Overrides ChangeOgMembershipStateBase::getTargetState

File

src/Plugin/Action/PendingOgMembership.php, line 23

Class

PendingOgMembership
Sets the pending state on a group membership.

Namespace

Drupal\og\Plugin\Action

Code

public function getTargetState() {
  return OgMembershipInterface::STATE_PENDING;
}