Returns config overrides.
505512
public function loadOverrides($names) {
    $overrides = [];

    // We don't need to add any fields if uploads are disabled.
    // We use getEditable and getOriginal to avoid override loops.
    if ($this->configFactory->getEditable('social_comment_upload.settings')->getOriginal('allow_upload_comments', TRUE) == FALSE) {
      return $overrides;
    }

    // Add field_group and field_comment_files.
    $config_name = 'core.entity_form_display.comment.comment.default';
    if (in_array($config_name, $names)) {
      $third_party = [
        'field_group' => [
          'group_add_attachment' => [
            'children' => [
              'field_comment_files',
            ],
            'parent_name' => '',
            'weight' => 20,
            'format_type' => 'details',
            'format_settings' => [
              'label' => 'Add attachment',
              'required_fields' => TRUE,
              'id' => '',
              'classes' => 'comment-attachments',
              'open' => FALSE,
            ],
            'label' => 'Add attachment',
          ],
        ],
      ];

      $content = [
        'field_comment_files' => [
          'weight' => 1,
          'settings' => [
            'progress_indicator' => 'throbber',
          ],
          'third_party_settings' => [],
          'type' => 'file_generic',
          'region' => 'content',
        ],
      ];

      $overrides[$config_name] = [
        'third_party_settings' => $third_party,
        'content' => $content,
      ];

    }

    // Add field_comment_files.
    $config_name = 'core.entity_view_display.comment.comment.default';
    if (in_array($config_name, $names)) {
      $content = [
        'field_comment_files' => [
          'weight' => 1,
          'label' => 'hidden',
          'settings' => [
            'image_style' => 'social_x_large',
            'image_link' => '',
          ],
          'third_party_settings' => [],
          'type' => 'file_image_default',
          'region' => 'content',
        ],
      ];

      $overrides[$config_name] = [
        'content' => $content,
      ];
    }

    return $overrides;
  }
332078
def _config_options(self):
        """"""
        self._config_sortable(self._sortable)
        self._config_drag_cols(self._drag_cols)
507202
def configurations(self):
        
        if self._configuration_manager is None:
            self._configuration_manager = ConfigurationManager(session=self._session)
        return self._configuration_manager
623979
private List<ClassInfo> getOverrideOrder() {
        if (overrideOrder == null) {
            overrideOrder = getOverrideOrder(new HashSet<ClassInfo>(), new ArrayList<ClassInfo>());
        }
        return overrideOrder;
    }
910594
def config(self):
		""""""

		response = self._call(
			mc_calls.Config
		)
		config_list = response.body.get('data', {}).get('entries', [])

		return config_list
15229
function overrideConfig() {
    _.merge(Elixir.config, require(path.join(process.cwd(), 'elixirConfig.js')));
}
487034
def get_configs(cls):
        
        import docido_sdk.config
        http_config = docido_sdk.config.get('http') or {}
        session_config = http_config.get('session') or {}
        rate_limits = session_config.get('rate_limit') or {}
        return rate_limits
800157
def config_files(override)
      files = []
      if override.stringify_keys.key?('config')
        files = override.stringify_keys.delete('config')
        override.delete('config')
      else
        files << source(override) + File::SEPARATOR + DEFAULT_FILENAME
      end
      files = [files] unless files.is_a? Array
      files
    end
455895
protected function getConfigs()
    {
    	$session = $this->container->get('session');
    	if (!$configs = $session->get($this->getRequest()->get('thrace_media_id', false))){
            $configs = [
                'max_upload_size' => '200000000',
                'extensions' => 'application/*'
            ];
    	}
    	
    	return $configs;
    }
862171
def _generate_config(self, mapping_class):
        """"""
        config = mapping_class()
        self._walk_config_copy_values(
            self.option_definitions,
            config,
            mapping_class
        )
        return config
768593
def get_configs(self):
        
        self.bots.check_models_ready()
        for config in self.configs.values():
            yield config
263979
def get_edited(self, ):
        
        modified = []
        for i in range(len(self.__edited)):
            if self.__edited[i]:
                modified.append(self.__configs[i])
        return modified
511239
def get_options(config=None):
    """"""
    if config is None:
        from . import config
        config.get = lambda key, default=None: getattr(config, key, default)

    base = {
        "components": config.get("COMPONENTS"),
        "signatures": config.get("SIGNATURES"),
        "commit_msg_template": config.get("COMMIT_MSG_TEMPLATE"),
        "commit_msg_labels": config.get("COMMIT_MSG_LABELS"),
        "alt_signatures": config.get("ALT_SIGNATURES"),
        "trusted": config.get("TRUSTED_DEVELOPERS"),
        "pep8": config.get("CHECK_PEP8", True),
        "pydocstyle": config.get("CHECK_PYDOCSTYLE", True),
        "license": config.get("CHECK_LICENSE", True),
        "pyflakes": config.get("CHECK_PYFLAKES", True),
        "ignore": config.get("IGNORE"),
        "select": config.get("SELECT"),
        "match": config.get("PYDOCSTYLE_MATCH"),
        "match_dir": config.get("PYDOCSTYLE_MATCH_DIR"),
        "min_reviewers": config.get("MIN_REVIEWERS"),
        "colors": config.get("COLORS", True),
        "excludes": config.get("EXCLUDES", []),
        "authors": config.get("AUTHORS"),
        "exclude_author_names": config.get("EXCLUDE_AUTHOR_NAMES"),
    }
    options = {}
    for k, v in base.items():
        if v is not None:
            options[k] = v
    return options
435093
protected function getDefaultConfigSettings() : array
    {
        $arResult = [
            'tab'   => 'lovata.toolbox::lang.tab.properties',
            'span'  => 'left',
            'label' => $this->name,
            'comment' => $this->description,
        ];

        //Get property tab
        $sTabName = $this->getSettingValue('tab');
        if (!empty($sTabName)) {
            $arResult['tab'] = $sTabName;
        }

        return $arResult;
    }
145719
def _config(self) -> ExtensionConfig:
        
        return dict(pattern=self.__pattern__, search_in_keys=True, search_in_values=False)
488725
def configs(max_configs=1, offset=None, serial=False, create_uuid=True):
    
    global default_selector
    return default_selector.configs(max_configs, offset, serial, create_uuid)
850451
def conf_sets(self):
        ''''''
        with self._mutex:
            if not self._conf_sets:
                self._parse_configuration()
        return self._conf_sets