You are here

abstract public function ChangeOgMembershipStateBase::getTargetState in Organic groups 8

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

Return value

string One of the following:

1 call to ChangeOgMembershipStateBase::getTargetState()
ChangeOgMembershipStateBase::access in src/Plugin/Action/ChangeOgMembershipStateBase.php
Checks object access.
3 methods override ChangeOgMembershipStateBase::getTargetState()
ApprovePendingOgMembership::getTargetState in src/Plugin/Action/ApprovePendingOgMembership.php
Returns the state the membership will have after the action is executed.
BlockOgMembership::getTargetState in src/Plugin/Action/BlockOgMembership.php
Returns the state the membership will have after the action is executed.
PendingOgMembership::getTargetState in src/Plugin/Action/PendingOgMembership.php
Returns the state the membership will have after the action is executed.

File

src/Plugin/Action/ChangeOgMembershipStateBase.php, line 103

Class

ChangeOgMembershipStateBase
Base class for actions that change the state of a membership.

Namespace

Drupal\og\Plugin\Action

Code

public abstract function getTargetState();