Needs review
Project:
OG Vocabulary
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
1 Mar 2013 at 06:52 UTC
Updated:
7 May 2014 at 14:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
skyredwangComment #2
skyredwangComment #3
skyredwangneed to support all entities.
Comment #4
skyredwangComment #5
amitaibu@RoySegall, can you review it please?
Comment #6
roysegall commentedSure.
Comment #7
roysegall commented@skyredwang There are white spaces in the patch but except for that - looks fine to me.
Comment #8
roysegall commented@skyredwang sorry for miss lead here, i looked it up a bit more and i think that there is no need for the views controller class, we can use the hook_views_data() instead.
Comment #9
skyredwang@RoySegal, I followed @Amitaibu advice to look into OG code on views integration. The views controller class (used also by OG) isn't necessary for now, but might be useful in the future. This patch is just a start for a simple feature, but other people or me might write more features going forward.
If you think "views controller class" is probably not needed going forward, then we can remove it?
Comment #10
roysegall commentedI'm attaching a patch which using the standard hook_views_data().
Comment #11
roysegall commentedComment #12
amitaibuThis looks wrong. Why is this check needed?
Comment #13
skyredwangIn this patch, I deleted the unnecessary condition checks.