You are here

public function GroupType::defaultConfiguration in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/Condition/GroupType.php \Drupal\group\Plugin\Condition\GroupType::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConditionPluginBase::defaultConfiguration

File

src/Plugin/Condition/GroupType.php, line 130

Class

GroupType
Provides a 'Group Type' condition.

Namespace

Drupal\group\Plugin\Condition

Code

public function defaultConfiguration() {
  return [
    'group_types' => [],
  ] + parent::defaultConfiguration();
}