- Issue created by @amateescu
- πΊπΈUnited States smustgrave
Seems like a good refactor. Leaning on the test coverage for this one
\Drupal\workspaces\Controller\WorkspacesHtmlEntityFormController::getContentResult()
calls ::getFormObject()
once at the beginning of the method to retrieve the entity from the form object, and again at the end through the call to ::getContentResult()
on the inner service.
- add a breakpoint in a hook_entity_create() implementation and load the entity add page for a workspace-supported entity type
- notice that the breakpoint gets hit twice
Retrieve the entity "manually" from the route match object.
Review.
Nope.
None.
Nope.
Nope.
Nope.
Active
11.0 π₯
workspaces.module
Seems like a good refactor. Leaning on the test coverage for this one