_field_info_prepare_field

function _field_info_prepare_field

_field_info_prepare_field($field)

Prepares a field 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

FieldInfo::prepareField()

Related topics

File

modules/field/field.info.inc, line 245
Field Info API, providing information about available fields and field types.

Code

function _field_info_prepare_field($field) {
  $cache = _field_info_field_cache();
  return $cache->prepareField($field);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!field!field.info.inc/function/_field_info_prepare_field/7.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部