public function GroupContentEnablerBase::getEntityCardinality in Group 8
Returns the amount of times the same content can be added to a group.
Return value
int The group content's entity cardinality.
Overrides GroupContentEnablerInterface::getEntityCardinality
File
- src/
Plugin/ GroupContentEnablerBase.php, line 118
Class
- GroupContentEnablerBase
- Provides a base class for GroupContentEnabler plugins.
Namespace
Drupal\group\PluginCode
public function getEntityCardinality() {
return $this->configuration['entity_cardinality'];
}