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.
At the moment, the add flag form is quite complex, and essentially is an admin only zone - the end user gets only the flags that the admin provides. I have a use case where I would like a new flag optionally created on submission of a new node, presumably inheriting the node title of that node and being created upon checking the appropriate "create flag" box.
I know this functionality doesn't exist now, but is this achievable?
Comments
Comment #1
amitaibuMaybe you can use hook_flag_default_flags() to add new flags based on your logic. ( http://drupal.org/node/305086 )
Comment #2
looplog CreditAttribution: looplog commentedThanks for the suggestion.