public function GroupRelationBase::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.
Overrides GroupRelationInterface::getEntityCardinality
File
- src/
Plugin/ Group/ Relation/ GroupRelationBase.php, line 115
Class
- GroupRelationBase
- Provides a base class for GroupContentEnabler plugins.
Namespace
Drupal\group\Plugin\Group\RelationCode
public function getEntityCardinality() {
return $this->configuration['entity_cardinality'];
}