Currently, Backdrop makes use of the functions field_defaults_field()
and field_defaults_instance()
to provide default setting arrays for field and instance. These two functions (not present in Drupal) are hardcoded and the arrays they return cannot be altered in any way, making it impossible to provide custom settings for field info or instance, change the default value for a setting, or add a new settings "key" for a custom settings. It would be pretty straightforward to add an alter hook call before returning these arrays (and ideally we would need to pass additional contextual information to these functions and to the the alter calls). I'm wondering what your thoughts are about doing something like this, and/or if it's contemplated anywhere.
Thanks.
Recent comments
I currently look after 97 Backdrop sites... 37 Drupal sites that need migrating... 17 WordPress sites... 23 tiny HTML sites (holding pages/simple intros) a few Wix and Squarespace sites...
Happy Birthday Backdrop CMS - Share your projects!
Having built around 25 websites in Drupal 7, I have been delighted with the process of upgrading them to Backdrop CMS over the past couple of years. Most notable are the following...
Happy Birthday Backdrop CMS - Share your projects!
Thanks (again)!
Webform - how to remove user name & date at top
That worked well and saved me a lot of hassle trying to reformat the view and css! Brilliant!! I hadn't thought of adding a tooltip... makes so much more sense once its pointed out. Neat...
How to reset the Image Library and display full filenames
Webforms are actually a new content type created by the Webform module. On the Admin Bar go to Structure > Content types > Webform > Configure Then select the Display...
Webform - how to remove user name & date at top