Closed (won't fix)
Project:
Views Access Callback
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Reporter:
Created:
4 Nov 2013 at 08:57 UTC
Updated:
25 Nov 2015 at 23:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
amarnus commentedComment #2
amarnus commentedComment #3
maciej.zgadzaj commentedI don't really think this is needed. Such example callback won't introduce any new functionality (besides having the drop down non-empty, which might only confuse people), returning
TRUEwould work the same way as not using any access restriction at all, so there is really no point to it.Comment #4
amarnus commentedFair.
Comment #5
earthangelconsulting commentedwell, considering that there's no readme file, maybe having an example of what the callbacks should look like (whether or not that's implemented as a working hook like above) might be a good thing ;-)
nice module though! once i figured out the callback structure, it works! handy indeed.
Comment #6
earthangelconsulting commentedok, after i posted my last comment, i found the views_access_callback.api.php file, which DOES give a clear example.
my bad.