You are here

public function GroupEvent::defaultConfiguration in Event 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides GroupContentEnablerBase::defaultConfiguration

File

modules/gevent/src/Plugin/GroupContentEnabler/GroupEvent.php, line 77

Class

GroupEvent
Provides a content enabler for events.

Namespace

Drupal\gevent\Plugin\GroupContentEnabler

Code

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