You are here

public function GroupContentMenu::defaultConfiguration in Group Content Menu 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides GroupContentEnablerBase::defaultConfiguration

File

src/Plugin/GroupContentEnabler/GroupContentMenu.php, line 60

Class

GroupContentMenu
Provides a content enabler for group menus.

Namespace

Drupal\group_content_menu\Plugin\GroupContentEnabler

Code

public function defaultConfiguration() {
  $config = parent::defaultConfiguration();
  $config['group_cardinality'] = 1;
  $config['entity_cardinality'] = 1;
  $config['auto_create_group_menu'] = FALSE;
  $config['auto_create_home_link'] = FALSE;
  $config['auto_create_home_link_title'] = 'Home';
  return $config;
}