Issue #3398579: Field UI access checks pass NULL to getRawParameter() for entity types without a bundle entity type

Only read the bundle route parameter when the entity type has a bundle entity type, in the view mode, form mode and field reuse access checks. Adds a kernel test with entity_test, which has a bundle key but no bundle entity type.

Generated with the help of an LLM.

Merge request reports

Loading
Loading