Skip to content
Snippets Groups Projects
Commit 217a6032 authored by Alex Barth's avatar Alex Barth
Browse files

Add a comment explaining this crazy ass views relationship.

parent ed4ae02d
No related branches found
No related tags found
No related merge requests found
......@@ -165,6 +165,8 @@ function feeds_views_data() {
),
);
// Add a relationship for each entity type relating the entity's base table
// to the feeds_item table whre feeds_item.entity_type = 'entity_type'.
foreach (array('node', 'taxonomy_term', 'user') as $entity_type) {
$info = entity_get_info($entity_type);
$data['feeds_item']['table']['join'][$info['base table']] = array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment