I’ve created a page using Page Manager, at the route /project/(node}/attendance
.
I need to add a custom access check on it, comparing information about the current user with the node to see if they should have access.
I have added a route subscriber, but when I loop through the route collection, my route does not appear. I have read that this is because pages added through the page manager are they themselves nodes.
Is there a way to add a custom access method to a Page Manager route?