- Issue created by @geoffreyr
- Merge request !1183496884: Ensure EntityHelper::getEntityBundle always falls back to string value → (Open) created by geoffreyr
- 🇷🇺Russia walkingdexter
I can't reproduce the problem by following these steps with Menu Item Extras 3.1.0. Please provide more information.
I believe this issue 🐛 option argument 'bundle' sometimes has a NULL value, which can cause issue Fixed covers a similar state, and they proposed to solve it by falling back to the entity type ID.
In this case the problem is more obvious, as the documentation says that
FieldDefinitionInterface::getTargetBundle()
can return NULL.