You are here

function editablefields_formatter_get_settings in Editable Fields 6.3

2 calls to editablefields_formatter_get_settings()
theme_editablefields_formatter in plugins/editables/cck.inc
Default theme implementation for editablefields_modal. RESPONDER
theme_editablefields_inline in plugins/responders/inline.inc
Default theme implementation for editablefields_modal.

File

./editablefields.module, line 677
Editable fields module.

Code

function editablefields_formatter_get_settings($field_name, $type_name, $context) {
  $options = array();
  $value = 'editablefields:' . $type_name . ':' . $context . ':' . $field_name;
  $options['editablefields'] = variable_get($value . '_text_formatter', 'default');

  /*
  $options['repeat']['show_repeat_rule'] = variable_get($value .'_show_repeat_rule', 'show');
  $options['multiple']['multiple_number'] = variable_get($value .'_multiple_number', '');
  $options['multiple']['multiple_from'] = variable_get($value .'_multiple_from', '');
  $options['multiple']['multiple_to'] = variable_get($value .'_multiple_to', '');
  $options['fromto']['fromto'] = variable_get($value .'_fromto', 'both')
  */
  return $options;
}