- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Merged π Layout builder doesn't support bundle computed field Closed: duplicate into this.
- First commit to issue fork.
- Merge request !8373Issue #3427374 by danflanagan8, Vighneshh: taxonomy_tid ViewsArgumentDefault... β (Closed) created by CRZDEV
- Merge request !8374Issue #3045509: Complete the field map with extra bundle field info β (Open) created by CRZDEV
Adding basis version & MR to 10.3.x & 11.x trying at least to keep functionallity for layout builder of https://www.drupal.org/project/drupal/issues/3034979 π Layout builder doesn't support bundle computed field Closed: duplicate
- πΊπΈUnited States m.stenta
The work being done in β¨ Provide some way to rebuild the persistent bundle field map Needs work may provided a way forward for us in farmOS.
That issue adds a new method for rebuilding the bundle field map, like so:
\Drupal::service('entity_field.manager')->rebuildBundleFieldMap();
A quick workaround for this issue is to implement
hook_modules_installed()
andhook_modules_uninstalled()
to call that method whenever modules are installed/uninstalled. That covers fields that are added/removed with a module. However, if the module adds a bundle field in a new version, it will also need to include an update hook that runs the method.If it's useful for anyone, this is the pull request we are considering for fixing this in the farmOS ecosystem (until a proper core fix emerges): https://github.com/farmOS/farmOS/pull/854
- π¬π§United Kingdom catch
Just ran into π Layout builder doesn't support bundle computed field Closed: duplicate
I think we should take this out of key/value.
We could have field module implement similar logic in it's bundle field info hook instead maybe.
- π¬π§United Kingdom joachim
I just did a workaround for this problem over at π ContentEntityDenormalizer uses the field map, and so is unaware of bundle fields Active .