Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Developer experience
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2011 at 13:17 UTC
Updated:
18 Apr 2011 at 18:32 UTC
Title says it all. Fieldable objects came to be known as entities a long time ago, and in the meantime all field hooks (and their documentation) has been updated to use $entity_type and $entity instead of $object_type and $object for arguments.
Our field hook implementations need to follow this, for better DX.
Comments
Comment #1
damien tournoud commentedAgreed.
Comment #2
bojanz commentedSimple.
http://drupalcode.org/sandbox/bojanz/1097750.git/commitdiff/e1b275c?hp=6...
Comment #3
rszrama commentedCooooomitted.