You are here

public function GroupNode::defaultConfiguration in Group 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides GroupContentEnablerBase::defaultConfiguration

File

modules/gnode/src/Plugin/GroupContentEnabler/GroupNode.php, line 65

Class

GroupNode
Provides a content enabler for nodes.

Namespace

Drupal\gnode\Plugin\GroupContentEnabler

Code

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