Diff requires three settings for each node type and these are displayed and administered on the administration form for the content type under a new entry 'Content revisions'.
In porting this module from Drupal I have added these config settings to the json file for the node type in order that they are updated through the normal saving of the content type. Maybe they should instead be stored in diff.settings.json?
In order to initiate these three settings if they have not yet been set, I have added code to function diff_form_node_type_form_alter. Is this the right way to deal with this?
Diff requires three settings for each node type and these are displayed and administered on the administration form for the content type under a new entry 'Content revisions'.
In porting this module from Drupal I have added these config settings to the json file for the node type in order that they are updated through the normal saving of the content type. Maybe they should instead be stored in diff.settings.json?
In order to initiate these three settings if they have not yet been set, I have added code to function diff_form_node_type_form_alter. Is this the right way to deal with this?