*
* @param $field
* The field definition.
+ * @param $instance
+ * The instance definition. It is recommended to only use instance level
+ * properties to filter out values from a list defined by field level
+ * properties.
*
* @return
* The array of options for the field. Array keys are the values to be
* widget. The HTML tags defined in _field_filter_xss_allowed_tags() are
* allowed, other tags will be filtered.
*/
-function hook_options_list($field) {
+function hook_options_list($field, $instance) {
// Sample structure.
$options = array(
0 => t('Zero'),