I have a View that lists some nodes. Each node instance has a boolean - "Spam" - that defaults to FALSE.
In the view there is an "Operations" column where there shall be a link with the anchor text "Flag as spam". When the user clicks on that link, the value of the boolean Spam field for that node becomes "TRUE".
I found this tutorial: https://www.drupal.org/docs/7/creating-custom-modules/howtos/how-to-add-a-column-with-dynamically-generated-action-buttons - but it is for Drupal 7.
However, what do I need to do to list a custom operation (with clickable link or button) in an "Operations" column produced by Views?