I’m trying to get the following route working but the entity bundle requirement won’t work. If I switch requirements to _access: ‘TRUE’ it works but entity checks are not working. I’ve traced it to EntityBundleAccessCheck.php where the node parameter is a string containing the node ID instead of the loaded entity, but I’m not sure why.
entity.node.send: path: '/node/{node}/send' defaults: _title: 'Send' _controller: 'Drupalnm_resendControllerSend::send' requirements: _entity_bundles: 'node:resend' options: _node_operation_route: TRUE