backdrop-contrib / i18n

Collection of modules to extend Backdrop CMS multilingual capabilities
https://backdropcms.org/project/i18n
GNU General Public License v2.0
2 stars 5 forks source link

Need a hook_config_info() in i18n_select so config file is owned by that module #126

Closed herbdool closed 1 year ago

herbdool commented 1 year ago

A client can't sync their config because i18n_select.settings isn't owned by any module. Something like the following should fix it:

/**
 * Implements hook_config_info().
 */
function i18n_select_config_info() {
  $prefixes['i18n_select.settings'] = array(
    'label' => t('Multilingual select settings'),
    'group' => t('Configuration'),
  );
  return $prefixes;
}
indigoxela commented 1 year ago

@herbdool many thanks for finding and suggesting the solution! :pray:

Yes, the missing hook_config_info is just an oversight. Will add it. :+1:

indigoxela commented 1 year ago

Fix available in #127

herbdool commented 1 year ago

PR works for me, thanks @indigoxela