Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
on my "Recipe" content, I created a personal "Like" flag.
I want to organize a contest of the best recipe and I will say that:
- When a user marks a recipe, a form is submitted automatically.
- When a user removes the marking from a recipe, its submission is automatically deleted.
Can I do this ? and where to start ?
Thank you
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedThe short answer is to use an entity update hook and some custom code.
This is a general Drupal question that should be posted https://drupal.stackexchange.com.