You are here

function field_tools_field_menu_load in Field tools 7

Menu loader for a field.

Parameters

$field_name: The machine name of a field.

File

./field_tools.module, line 240
field_tools.module Contains useful tools for working with fields.

Code

function field_tools_field_menu_load($field_name) {
  if ($field = field_info_field($field_name)) {
    return $field;
  }
  return FALSE;
}