I currently use hook_entity_extra_field_info() and hook_ENTITY_TYPE_view() to create a custom field displayed in nodes that generates content dynamically via PHP. However, Drupal 9 seems to be tracking changes to the output of this field each time I save a node revision, which I don’t want because that field’s content is generated dynamically and is already under version control in a custom module.
Is there a way to tell Drupal in one of those hooks, or anywhere else in the configuration, not to track revisions for a specific node field?