The configuration form to update module and JavaScript settings is created in the tocbot.module file. According to https://api.backdropcms.org/converting-modules-from-drupal (section "Organization of module files") it's recommended to create a modulename.admin.inc file for the settings instead.
Tasks:
[x] Create tocbot.admin.inc, and move settings from tocbot.module#L50 to the new file.
[x] Reference the file in function tocbot_menu() in tocbot.module.
The configuration form to update module and JavaScript settings is created in the
tocbot.module
file. According to https://api.backdropcms.org/converting-modules-from-drupal (section "Organization of module files") it's recommended to create amodulename.admin.inc
file for the settings instead.Tasks:
tocbot.admin.inc
, and move settings fromtocbot.module#L50
to the new file.function tocbot_menu()
intocbot.module
.