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.

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


steveoliver’s picture

Assigned:Unassigned» steveoliver

i'll roll something

steveoliver’s picture

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

Maybe something like this?

joachim’s picture

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.