Some modules expect the entity type to be specified in hook_views_data, in $data['scald_atoms']['table']['entity type']. One specific example is https://drupal.org/project/editableviews. Patch to follow.

Comments

brockfanning’s picture

Status: Active » Needs review
StatusFileSize
new451 bytes

This patch adds the entity type to hook_views_data. One specific fix is that this allows views of atoms to be used with the editableviews module. I imagine there are probably some other views-related modules that may need this as well, but don't know for sure.

jcisio’s picture

Title: specify entity type in hook_views_data » Specify entity type in hook_views_data
Category: bug » feature
Status: Needs review » Fixed

Thanks. Modules like Entity API also declare "entity type" in hook_views_data().

Committed c605e5a.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.