You are here

public function OgResolvedGroupCollection::getVoteWeight in Organic groups 8

Gets the current default vote weight.

Return value

int The weight that is being assigned to votes being cast.

Overrides OgResolvedGroupCollectionInterface::getVoteWeight

1 call to OgResolvedGroupCollection::getVoteWeight()
OgResolvedGroupCollection::addGroup in src/OgResolvedGroupCollection.php
Adds a group to the collection.

File

src/OgResolvedGroupCollection.php, line 75

Class

OgResolvedGroupCollection
Contains a collection of groups discovered by OgGroupResolver plugins.

Namespace

Drupal\og

Code

public function getVoteWeight() {
  return $this->voteWeight;
}