- Issue created by @mglaman
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
XB is not yet being tested on 11.2, let alone with Gin.
- Merge request !171Add hook_gin_ignore_sticky_form_actions implementation β (Open) created by GΓ‘bor Hojtsy
Just tried XB on 11.2 and Gin 5. Got:
"call_user_func_array(): Argument #1 ($callback) must be a valid callback, function \"gin_form_after_build\" not found or invalid function name"
That's because the theme switches from gin to xb_stark. It's due to $use_sticky_action_buttons
causing the form to have callbacks to Gin, but Gin isn't loaded.
Implement hook_gin_ignore_sticky_form_actions and ignore the XB page form
/**
* Implements hook_gin_ignore_sticky_form_actions().
*/
function haas_content_gin_ignore_sticky_form_actions() {
return ['xb_page_form'];
}
In the future something calculated at runtime will be needed to ignore any form in an XB API call
Active
0.0
β¦Β to be triaged
XB is not yet being tested on 11.2, let alone with Gin.