Skip to main content
added 199 characters in body
Source Link
Tom Davies
  • 4.4k
  • 25
  • 44

TheIf you only have a few settings, the most common pattern for this is to use a companion extension for your module, as extensions get a built-in settings screen for "free", avoiding the need tofor a separate table.

I'll update this answer with an example shortlyAs Adrian says though, the native extension settings are stored as a serialised array, so if you have a large amount of settings data a separate table is the way to go.

The most common pattern for this is to use a companion extension for your module, as extensions get a built-in settings screen for "free", avoiding the need to a separate table.

I'll update this answer with an example shortly.

If you only have a few settings, the most common pattern for this is to use a companion extension for your module, as extensions get a built-in settings screen for "free", avoiding the need for a separate table.

As Adrian says though, the native extension settings are stored as a serialised array, so if you have a large amount of settings data a separate table is the way to go.

Source Link
Tom Davies
  • 4.4k
  • 25
  • 44

The most common pattern for this is to use a companion extension for your module, as extensions get a built-in settings screen for "free", avoiding the need to a separate table.

I'll update this answer with an example shortly.