You are here

public function GroupContentEnablerInterface::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.

1 method overrides GroupContentEnablerInterface::getEntityCardinality()
GroupContentEnablerBase::getEntityCardinality in src/Plugin/GroupContentEnablerBase.php
Returns the amount of times the same content can be added to a group.

File

src/Plugin/GroupContentEnablerInterface.php, line 86

Class

GroupContentEnablerInterface
Defines an interface for pluggable GroupContentEnabler back-ends.

Namespace

Drupal\group\Plugin

Code

public function getEntityCardinality();