You are here

protected function ConfigurationSettings::defaultConfig in Configuration Management 7.3

1 call to ConfigurationSettings::defaultConfig()
ConfigurationSettings::reset in src/Helpers/ConfigurationSettings.php
1 method overrides ConfigurationSettings::defaultConfig()
ConfigurationSettingsList::defaultConfig in src/Helpers/ConfigurationSettingsList.php

File

src/Helpers/ConfigurationSettings.php, line 34

Class

ConfigurationSettings

Namespace

Configuration\Helpers

Code

protected function defaultConfig() {
  $settings = new \StdClass();
  $settings->environments = array();
  $settings->export = new \StdClass();
  $settings->export->path = 'config';
  $settings->export->overriden_patterns = new \StdClass();

  // 'identifier' => 'specific pattern',
  // 'type.*' => 'specific pattern for all the components of this type',
  $settings->export->default_pattern = '[group]/[type]/';
  $settings->export->fast_export = TRUE;
  $settings->export->format = 'json';
  $settings->export->batch = FALSE;
  $settings->export->exclude = array();
  $settings->export->groups = array();
  $settings->import = new \StdClass();
  $settings->import->path = 'config';
  $settings->import->format = 'json';
  $settings->import->batch = FALSE;
  $settings->import->exclude = array();
  $settings->import->import_parts = TRUE;
  $settings->import->import_only_if_hash_changed = TRUE;
  $settings->import->delete_configs_not_exported = FALSE;
  $settings->alter = array();
  return $settings;
}