Using "new" indicator in a custom controller

About the writer


Victor is a web developer passionnated in drupal and bootstrap technologies. He likes challenges and beautiful designs.

When not behind his computer you'll find him drinking beers with friends or in the middle of nowhere hiking with his dog.

Submitted by victor.bourgade on Tue, 06/15/2021 - 20:05
Drupal core provides out of the box a "new" indicator to tell users when there is a new content for them, such as nodes or comments. How to implement this in a custom controller ?