- π¬π·Greece pappis Greece
I am trying to access route
diff.revisions_diff: '/node/{node}/revisions/view/{left_revision}/{right_revision}/{filter}'
from inside hook_node_update(NodeInterface $node)
but i get
TypeError: Argument 3 passed to Drupal\diff\Controller\PluginRevisionController::compareEntityRevisions() must implement interface Drupal\Core\Entity\ContentEntityInterface, null givenprobably because the new revision is not saved when the hook runs.
Is it related to this issue and is there a workaround?