Skip to main content
Home Home

Join

  • Get in touch

Main navigation

  • Blog
    • Tracking changes on field level on entities
  • Team
  • Home
  • Blog
  • Tracking changes on field level on entities

Tracking changes on field level on entities

by Dalibor
Co-owner, Chief Technical Officer
10 Apr 2019

One of our clients had a request where he wanted to track and filter changes on some entities per field level so he can filter them and check new and old values and react only if they had some value that was interested to him.

Now if we're talking about revisions then we track everything and client wanted to track only changes on some fields and not on whole entity in general. This led us thinking and we created a module for tracking changes on entities. The module is called Entity log and you can find it on this link below:

https://www.drupal.org/project/entity_log

 

When you install the module you can go to /admin/config/entity-log and setup which fields you want to track in log and select where you want to log changes (watchdog or Entity log entity).

It is simple enough for user (admin or moderator) to select fields he wants to track. (Check the image below)

selected fields

After checking what you want you can create view that will be your log viewer. So lets do that below:

log view

We select fields we want in our view like below and we have new entity log tracker.

entity log tracker

Since this is a drupal entity you can create any kind of view that suits your needs for logging and with fields you want to be included. Hope you enjoy the module.

Share
Tags
How-to

LOOKING FOR A DIGITAL EXPERIENCE?

Looking for a digital experience built on Drupal?
Get in touch with Drupal experts!

Get in touch

Croatia

Svetice 21
10000 Zagreb
hello@ws.agency
+385 1 3445 884

USA

Atlanta
+1 404 549 5896
Home

Footer menu

  • Privacy
  • Sitemap
  • Blog
  • Careers
  • Get in touch

© 2021 Websolutions Agency. All Rights Reserved.