You are here

public function EventGroup::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/event_group/src/Plugin/GroupContentEnabler/EventGroup.php, line 36

Class

EventGroup
Provides a content enabler for events.

Namespace

Drupal\event_group\Plugin\GroupContentEnabler

Code

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