Active
Project:
Entityreference Current
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2014 at 16:30 UTC
Updated:
10 Feb 2014 at 06:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
kolier commentedComment #2
tedbowPlease give me some details about possible needs/uses for these new alter hooks.
I am not opposed to adding this but I don't want to add any unnecessary code either.
Comment #3
kolier commentedChange a little.
Comment #4
kolier commented@tedbow
Just like your 'use_uid', you can imagine it.
Comment #5
tedbowSorry but unless there is specific reason that you need the hooks I am not going to add them. I don't want to unnecessary function calls in.
Let me know, if you need them for something I probably add them though.
Also for this one.
Have you checked if you can do this with any of the hooks that Ctools makes available or just form_alter?
Comment #6
kolier commentedNo problem, it just an idea that I found possible and useful when I try to reuse this module without actually forking it.
Though it's still limited, if there are a better design, this module or similar new module could be a entityreference_context that easily choose the 'context' to auto reference.
About doing it in other ways, there are always many ways to accomplish it, but these are the best that I could think out that ease the developer's burden.