You are here

function uc_extra_fields_pane_field_load in Extra Fields Checkout Pane 6.2

Same name and namespace in other branches
  1. 7 uc_extra_fields_pane.module \uc_extra_fields_pane_field_load()

Implementation of hook_load().

Parameters

int $fid:

Return value

object

2 calls to uc_extra_fields_pane_field_load()
uc_extra_fields_pane_handler_field_selection::render in views/uc_extra_fields_pane_handler_field_selection.inc
Render the field.
uc_extra_fields_pane_handler_filter_selection::get_value_options in views/uc_extra_fields_pane_handler_filter_selection.inc

File

./uc_extra_fields_pane.module, line 989
Module: uc_extra_fields_pane.module

Code

function uc_extra_fields_pane_field_load($fid) {
  try {
    return UCXF_FieldList::getFieldByID($fid);
  } catch (UCXF_Exception $e) {
    drupal_set_message($e
      ->getMessage(), 'error');
  }
}