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
It could be that you need the Javascript that is included within Seven. If your theme is a subtheme of seven it would be included but if custom, it maybe that you need to copy that and include in...
Nesting problem with field_group 1.x-1.1.1
I was working with a custom admin theme, so there would be nothing you'd need to fix. I just need to look deeper into the css, probably.
Nesting problem with field_group 1.x-1.1.1
Please could you confirm which admin theme it was? Sounds like we might need to get this fixed or removed.
Nesting problem with field_group 1.x-1.1.1
Yes, that was the problem. It works fine with Seven. Thanks!
Nesting problem with field_group 1.x-1.1.1
I can't reproduce this. Have you saved the group and tab arrangement before trying to drag fields in? What admin theme are you using? There was another forum post with admin UI issues that was down...
Nesting problem with field_group 1.x-1.1.1