Service method to get all flags for a user

Created on 17 August 2023, over 1 year ago

Problem/Motivation

As far as I can see, there is no method to get all flags for a particular user.

Steps to reproduce

n/a

Proposed resolution

Add a method to \Drupal\flag\FlagService - perhaps call it getFlagsByUser

Remaining tasks

1. add the method
2. use it in \Drupal\flag\FlagService::unflagAllByUser

User interface changes

none

API changes

Add new method on FlagService

Data model changes

none

โœจ Feature request
Status

Active

Version

4.0

Component

Flag core

Created by

๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom malcomio

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024