You are here

public function GroupContentEnablerBase::getGroupCardinality in Group 8

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

Return value

int The group content's group cardinality.

Overrides GroupContentEnablerInterface::getGroupCardinality

File

src/Plugin/GroupContentEnablerBase.php, line 111

Class

GroupContentEnablerBase
Provides a base class for GroupContentEnabler plugins.

Namespace

Drupal\group\Plugin

Code

public function getGroupCardinality() {
  return $this->configuration['group_cardinality'];
}