You are here

public function GroupType::defaultConfiguration in Organic groups 8

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 166

Class

GroupType
Provides a 'Group Type' block visibility condition.

Namespace

Drupal\og\Plugin\Condition

Code

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