- Issue created by @Liam Morland
- Status changed to Needs work
about 2 months ago 6:30am 12 March 2025 - 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦
Can you suggest what this method should be called?
It would be useful to be able to get an array of all entities that a user has flagged with a given flag, such as all article
nodes they have bookmarked.
Add a method with code along these lines:
$query = $this->entityTypeManager()->getStorage('flagging')->getQuery();
$query->accessCheck(FALSE);
$query->condition('flag_id', FLAG_ID);
$query->condition('uid', UID);
$nids = $query->execute();
Agree on name of method. Implement.
None.
Addition of one method.
None.
Active
4.0
Flag core
Can you suggest what this method should be called?