I created a custom Drupal module and now want to save some preferences for it. Those are essentially 3 arrays of strings that should be saved and also easily edited by a (administrative) user.
What would be the best way to do that in Drupal? I’ve read about variable_set and variable_get, are they appropriate to store module-specific data like this?
Is there some way to easily create an admin form to edit those variables, or do I have to write that from scratch?
If you want to do it fast, use variable_get/set and system_settings_form().