Closed (fixed)
Project:
Office Hours
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2013 at 19:37 UTC
Updated:
23 Mar 2013 at 14:50 UTC
Jump to comment: Most recent file
'field types' => array('office_hours_formatter_default', 'office_hours', 'office_hours_multiple_values', 'office_hours_select'),
'multiple values' => FIELD_BEHAVIOR_DEFAULT,
there's only a field type, and 'multiple values' is not a valid key in hook_formatter_info()
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | office_hours-1913010.patch | 2.04 KB | jonhattan |
Comments
Comment #1
jonhattanAlso changed some docstrings in this patch.
Comment #2
jonhattanComment #3
johnvThe docstrings have been committed.
I am not confident about the change in
office_hours_field_formatter_info(). Some/all of these types are declared in file office_hours.elements.inc :'#type' => 'office_hours_select',This needs some more investigation and testing.
Can you provide a clean patch?
Comment #4
jonhattanfield types are not form elements.
Comment #5
johnvMeanwhile, this is fixed while committing your other patches. Thanks.