Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is it possible to use Theme Settings API to add certain module settings to the theme settings?
Comments
Comment #1
JohnAlbinIf a module wanted to have different settings for each theme, the correct place to put those settings would be the /admin/build/themes/settings/THEME form.
However, there's no reason to have a module dependency on the Theme Settings API module.
For example, if the captcha module were to have per-theme settings, you could use _form_alter() to add its settings. Take a look at the code in themesettingsapi.module.
Comment #2
(not verified) CreditAttribution: commented