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
Thanks for your response. The site works when I comment out the trusted settings code, as this is the original code in settings.php. I did a code change by simply putting settings all in the same...
trusted host settings
If you comment out the trusted host settings code and access the site, what happens?
trusted host settings
Hello all, I'm going to try something with Ubercart, content access and h5p... I will let you know.
Is it possible to create a LMS site ?
Thank you for your help. I really love the power of layout but I also think it's a harder to create themes. But i still find Backdrop cool and powerful.
Theme creation - front page with prepopulate data (like hero block)
I'm a backdrop core committer. I don't think Drupal guarantees that modules will continue to work after an upgrade from 9 to 10. Drupal removes deprecated code between major versions and also handles...
question for modules after BD's major update