Using "new" indicator in a custom controller

About the writer

victor.bourgade

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 ?

Renaming files with a random name.

About the writer

victor.bourgade

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 Thu, 11/05/2020 - 18:14
How to rename uploaded files with programmatically generated random names on Drupal 8/9.