function entity_property_create_array in Entity API 7
A simple auto-creation callback for array based data structures.
2 string references to 'entity_property_create_array'
- entity_metadata_field_text_property_callback in modules/
field.info.inc - Additional callback to adapt the property info for text fields. If a text field is processed we make use of a separate data structure so that format filters are available too. For the text value that is sanitized, this processed value is returned by…
- entity_metadata_node_entity_property_info_alter in modules/
node.info.inc - Implements hook_entity_property_info_alter() on top of node module.
File
- includes/
entity.property.inc, line 472 - Provides API functions around hook_entity_property_info(). Also see entity.info.inc, which cares for providing entity property info for all core entity types.
Code
function entity_property_create_array($property_name, $context) {
return array();
}