You are here

function _nodereference_filter_handler in Content Construction Kit (CCK) 5

Provide a list of nodes to filter on.

1 string reference to '_nodereference_filter_handler'
nodereference_field_settings in ./nodereference.module
Implementation of hook_field_settings().

File

./nodereference.module, line 542
Defines a field type for referencing one node from another.

Code

function _nodereference_filter_handler($op, $filterinfo) {
  $options = array(
    0 => t('<empty>'),
  );
  $options = $options + _nodereference_potential_references($filterinfo['extra']['field']);
  return $options;
}