function _field_info_prepare_instance
Prepares an instance definition for the current run-time context.
The functionality has moved to the FieldInfo class. This function is kept as a backwards-compatibility layer. See http://drupal.org/node/1915646.
See also
Related topics
File
-
modules/
field/ field.info.inc, line 258
Code
function _field_info_prepare_instance($instance, $field) {
$cache = _field_info_field_cache();
return $cache->prepareInstance($instance, $field['type']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.