function D7field_tools_field_menu_load in Field tools 8
Menu loader for a field.
Parameters
$field_name: The machine name of a field.
File
- ./
field_tools.module, line 273 - field_tools.module Contains useful tools for working with fields.
Code
function D7field_tools_field_menu_load($field_name) {
if ($field = field_info_field($field_name)) {
return $field;
}
return FALSE;
}