This is useful for updating content behind the scenes and not altering the changed time in the admin interface.
This will work with any entity that uses the Drupal\Core\Entity\EntityChangedTrait trait, or extends the Drupal\Core\Entity\EditorialContentEntityBase, which is actually most content entity types in Drupal
Add new comment