- Issue created by @vidorado
Follow-up to issue 🐛 EntityCreateAccessCheck needs to enforce a bundle is set by the route for entity types that support bundles Needs work
Make EntityCreateAccessCheck::access()
throw an \InvalidArgumentException
instead of raising a deprecation error when a _entity_create_access
route requirement is set without bundle.
EntityCreateAccessCheck::access()
throw an \InvalidArgumentException
instead of raising a deprecation error.EntityCreateAccessCheckTest::testAccessThrowsExceptionWhenNoBundleSpecified()
to expect an \InvalidArgumentException instead of expecting a deprecation and remove the @group legacy
in the docblock.Postponed
11.0 🔥
entity system