Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I have finished placing this functionality in the 7.x-feature-entity-support branch and am looking for people to review. Some notes on this release:
To maintain backwards compatibility, new entity based functions have been added. The existing node based functions actually now use these functions, but handle passing the arguments along as needed.
Node based functions are now deprecated. They still exist and they are intended to still work. These may disappear in a future release though so it's best to move on to the entity based functions.
Along with entity based functions, there are entity based hooks. Please note that both entity and node hooks are fired when appropriate. Since the node based functions just use the entity functions, both hooks are fired (we don't know which the code base may need). Again, the node based hooks are deprecated.
I have also updated the features support but have not extensively tested that. My intention is that old features with VMP settings will still work.
Since adding entity support required quite a bit of changes and is a pretty major feature, this branch will likely become the 7.x-2.x branch shortly.
Comments
Comment #1
rballou commentedThis sounds like it would be handy. I will try to take a look at what would be involved in getting this rolled in.
Comment #2
kaizerking commentedthis may help you entity view modes in getting there
Comment #3
rballou commentedFor what it's worth, some of this work is currently in development in the
7.x-feature-entity-supportbranch.Comment #4
rballou commentedI have finished placing this functionality in the
7.x-feature-entity-supportbranch and am looking for people to review. Some notes on this release:Since adding entity support required quite a bit of changes and is a pretty major feature, this branch will likely become the
7.x-2.xbranch shortly.Comment #5
rballou commentedThis has been moved over to a dev release as
7.x-2.x: http://drupal.org/node/1978696Comment #6
rballou commentedComment #7
rballou commented