public function GroupRelationInterface::getEntityCardinality in Group 2.0.x
Returns the amount of times the same content can be added to a group.
Return value
int The group content's entity cardinality.
1 method overrides GroupRelationInterface::getEntityCardinality()
- GroupRelationBase::getEntityCardinality in src/
Plugin/ Group/ Relation/ GroupRelationBase.php - Returns the amount of times the same content can be added to a group.
File
- src/
Plugin/ Group/ Relation/ GroupRelationInterface.php, line 85
Class
- GroupRelationInterface
- Defines an interface for pluggable GroupRelation back-ends.
Namespace
Drupal\group\Plugin\Group\RelationCode
public function getEntityCardinality();