I am using variable_get('name-of-setting', 'default-value') to retrieve module/theme settings in several locations in code.
The purpose is to keep default settings in one locations preferable in .info file. I am able to this for themes:
Here the theme_get_setting() retrieves the settings from the theme-name.info file:
settings['name-of-setting'] = some_value
Can i do the same for modules? What is the API to retrieve settings from module .info file? If not, how do you handle module default settings to avoid it scatter around code?