hook_flag_access() docs should state that this is not invoked for ALL flags. In situations like views (and others??), hook_flag_access_multiple() is used instead.

Files: 
CommentFileSizeAuthor
#2 flag-docs-hook-flag-access-multiple--1912208-2.patch1.28 KBsteveoliver
PASSED: [[SimpleTest]]: [MySQL] 186 pass(es).
[ View ]

Comments

Assigned:Unassigned» steveoliver

i'll roll something

Status:Active» Needs review
StatusFileSize
new1.28 KB
PASSED: [[SimpleTest]]: [MySQL] 186 pass(es).
[ View ]

Maybe something like this?

Status:Needs review» Fixed

That's perfect, thanks!

Issue #1912208 by steveoliver: Fixed hook_flag_access() missing a mention of hook_flag_access_multiple().

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.