You are here

function filefield_field_settings in FileField 6.3

Same name and namespace in other branches
  1. 5.2 filefield.module \filefield_field_settings()
  2. 5 filefield.module \filefield_field_settings()
  3. 6.2 filefield.module \filefield_field_settings()

Implementation of hook_field_settings().

File

./filefield.module, line 281
FileField: Defines a CCK file field type.

Code

function filefield_field_settings($op, $field) {
  $return = array();
  module_load_include('inc', 'filefield', 'filefield_field');
  $op = str_replace(' ', '_', $op);
  $function = 'filefield_field_settings_' . $op;
  if (function_exists($function)) {
    $result = $function($field);
    if (isset($result) && is_array($result)) {
      $return = $result;
    }
  }
  return $return;
}