Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom form types for user, system and measurable settings #10992

merged 3 commits into from Dec 12, 2016


None yet
1 participant
Copy link

commented Dec 11, 2016

This PR allows us to show custom field types in User-, System- and Measurable-Settings. No longer limited to text, textarea, select, ...

Defining a new field is as easy as eg

This is really useful since we were often not able to define settings eg as System Settings because one setting was a bit more complicated and could not be visualized with our default UI settings control but now we can wrap pretty much anything with it.

By default the values for it will be stored along a site, measurable, plugin settings but with just a very few lines and by implementing it is super easy to store settings for a field in a different backend see this interface:

Say you have a custom setting for trusted hosts or something else and want to keep the existing place for storing that information then you just wrap the calls to save that method in such an interface.

Needs to be documented eventually.

tsteur added some commits Dec 11, 2016

@tsteur tsteur added this to the 3.0.0-rc milestone Dec 11, 2016

@tsteur tsteur merged commit 5e83fd4 into 3.x-dev Dec 12, 2016

0 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build is in progress
continuous-integration/travis-ci/push The Travis CI build is in progress

@tsteur tsteur deleted the customsettingtemplates branch Dec 12, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.