- 🇦🇺Australia almunnings Melbourne, 🇦🇺
As a possible workaround short-term, I've had luck with this:
function whatevers_node_update(NodeInterface $node) { /** @var \Drupal\node\NodeStorageInterface $storage */ $storage = \Drupal::entityTypeManager()->getStorage('node'); $storage->resetCache([$node->id()]); /** @var \Drupal\node\NodeInterface $reload */ $reload = $storage->load($node->id()); if (!$reload->isLatestRevision()) { return; } }