- Issue created by @Anybody
- 🇩🇪Germany Anybody Porta Westfalica
Looks like we need to replace
/** * Implements hook_form_layout_paragraphs_component_form_alter(). */ function drowl_paragraphs_form_layout_paragraphs_component_form_alter(array &$form, FormStateInterface &$form_state){ // Add backend library form to layout_paragraphs form: $form['#attached']['library'][] = 'drowl_paragraphs/admin'; }
to catch this case.
Let's try to use the more general
/** * Implements hook_preprocess_layout_paragraphs_builder(). */ function drowl_paragraphs_preprocess_layout_paragraphs_builder(array &$variables) { // Add backend library form to layout_paragraphs builder form. $variables['#attached']['library'][] = 'drowl_paragraphs/admin'; }
instead. Hope it's the right one...
- @anybody opened merge request.
- Issue was unassigned.
- Status changed to RTBC
over 1 year ago 12:57pm 24 March 2023 - 🇩🇪Germany Anybody Porta Westfalica
Tested and works. I'll track ✨ Missing hook to alter ChooseComponentController::list or ::componentMenu Active for possible updates / maintainer feedback from layout_paragraphs.
- Status changed to Fixed
over 1 year ago 12:59pm 24 March 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
over 1 year ago 7:33am 17 July 2023 - 🇩🇪Germany Anybody Porta Westfalica
Doesn't work or doesn't work anymore, really strange.
Here's the regression issue:
✨ Missing hook to alter ChooseComponentController::list or ::componentMenu Active