Placing a flag on a page

Created on 6 October 2016, over 7 years ago
Updated 22 January 2022, over 2 years ago

Hi,

Is there a way to print a flag link in a template with Flag-8.x like we can do it in Drupal 7 ?

In D7
print flag_create_link('fools', $account->uid);

Thanks in advance

πŸ’¬ Support request
Status

Active

Version

4.0

Component

Flag core

Created by

πŸ‡«πŸ‡·France geoffvio

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡¦Canada netgeek123

    Has anyone actually cleared this up?

    Working with version 8.+ and this is still a problem?

    Has anyone gotten flag to work with TWIG template?

Production build 0.69.0 2024