Problem/Motivation

The logic that determinate if an event interpreter should react to an action on an entity should be a public method on the AuditLogInterpreterInterface this will allow to create new interepreters that do the same but only change if they react to the event.

Proposed resolution

  • Create an abstract class that can handle any entity event on any entity.
  • Abstract the logic present on the first lines reactTo method of Node.php and User.php into a new method.

Remaining tasks

  • Write the code
  • Create tests
  • User interface changes

    None

    API changes

    The described in the issue summary.

    Data model changes

    Comments

    dagmar created an issue.