You are here

public function BlockOgMembership::getOriginalState in Organic groups 8

Returns the state the membership should have for the action to be executed.

Return value

string|null Either NULL if the action does not require the membership to be in a particular state for the action to be executed, or one of the following:

Overrides ChangeOgMembershipStateBase::getOriginalState

File

src/Plugin/Action/BlockOgMembership.php, line 30

Class

BlockOgMembership
Blocks a group membership.

Namespace

Drupal\og\Plugin\Action

Code

public function getOriginalState() {
  return NULL;
}