You are here

public function GroupMembership::defaultConfiguration in Group 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides GroupContentEnablerBase::defaultConfiguration

File

src/Plugin/GroupContentEnabler/GroupMembership.php, line 156

Class

GroupMembership
Provides a content enabler for users.

Namespace

Drupal\group\Plugin\GroupContentEnabler

Code

public function defaultConfiguration() {
  $config = parent::defaultConfiguration();
  $config['entity_cardinality'] = 1;
  return $config;
}