You are here

public function GroupRelationInterface::getGroupCardinality in Group 2.0.x

Returns the amount of groups the same content can be added to.

Return value

int The group content's group cardinality.

1 method overrides GroupRelationInterface::getGroupCardinality()
GroupRelationBase::getGroupCardinality in src/Plugin/Group/Relation/GroupRelationBase.php
Returns the amount of groups the same content can be added to.

File

src/Plugin/Group/Relation/GroupRelationInterface.php, line 77

Class

GroupRelationInterface
Defines an interface for pluggable GroupRelation back-ends.

Namespace

Drupal\group\Plugin\Group\Relation

Code

public function getGroupCardinality();