- Issue created by @juagarc4
- First commit to issue fork.
- πͺπΈSpain guiu.rocafort.ferrer Barcelona
guiu.rocafort.ferrer β made their first commit to this issueβs fork.
- πͺπΈSpain guiu.rocafort.ferrer Barcelona
I changed the TagContainerListBuilder class to extend DraggableListBuilder, and adapted the buildHeader and buildRow methods for the new class. For this to work, i had to add "weight" to the TagContainer entity annotation entity_keys.
I am not sure if the weight field in the edit form is really necessary, since it can be changed in the list already.
I am not complete sure, but i think we should write a hook_update, to clear the related caches for the entity type and force Drupal to pick up the changes from the annotation. I tried manually clearing caches, and seemed to work well. "config:google_tag_container_list" might be a good candidate for a cache tag to invalidate in that hook.
- π¨πSwitzerland juagarc4
I tested today the new functionality and it works like a charm.
It worked even without clearing the caches and I don't think either, the weight field in the edit form is really necessary.Thank you very much :-) !!
- π¨πSwitzerland juagarc4
I tested today the new functionality and it works like a charm.
It worked even without clearing the caches and I don't think either, the weight field in the edit form is really necessary.Thank you very much :-) !!
- Status changed to RTBC
9 months ago 8:59am 22 February 2024