Issue #1824772 by OnkelTem, webadpro: Add entity properties to Manage fields form as extra fields.
Add new cache_eck table for caching ECK property widgets, formatters, entity type and bundle info.
Add new hooks for defining property widgets: hook_eck_property_widget_info, hook_eck_property_widget_info_alter.
Define a default 'text' widget type, implement the new widget info hooks and add a file to contain property widget type form hooks. Also add hooks to eck.api.inc.
Add some awesome new functionality to allow admins to select entity properties to show up on the manage fields tab. A property widget may also be assigned to the property and the settings for the property field may be managage in much the same was as a regular field can. Note: in this commit the widget selection, property field edit and delete links do not work yet... that will come.
Add the menu callbacks necessary for managing property fields through the field management tabs.
Connecting functionality to edit property fields from the 'edit' link on the manage fields tab.
Connecting functionality to change the property widget for a particular property field. The use of the widget link on the manage fields tab.
Connecting functionality for removing a managed field property from the manage fields tab.
Update eck_field_extra_fields() to use the new managed property settings from the bundle's field management tab.
Connecting the property widgets/extra fields to the entity form: eck__entity__form().
Fix issue with the eck_form_field_ui_field_overview_form_submit() where it tries to save every time the save button is pressed regardless if a new extra field was added or not.
A new property type hook has been implemented, and property (data) types have been organized into classes that know how to define and validate themselves
Implement hook_flush_caches to inlude cache_eck in 'flush all caches'.
Removed behavior callbacks from eck__entity__form so that the new widgets will be what is used instead of behavior defined widgets. Also fixed issue of the saved entity value not displaying in the widget on the form.
had to implement quite a few hacks to get validation working, but everything seems to be working correctly, I also set the text field widget to be able to be used with decimals and integers
added validation for positive integers and decimals
Re-Implement hook_flush_caches to inlude cache_eck in 'flush all caches' since it got lost somewhere.
Okay ... actually it snuck back in. Now removing the duplicate eck_flush_caches() call.
Task 28: Fix some entity add errors - need to take into account property defaults on entity creation. Set 'und' as the default for language properties.