You are here

function finder_group_settings in Finder 7.2

Settings callback.

1 string reference to 'finder_group_settings'
group.inc in plugins/element_handler/group.inc
The finder group element handler plugin.

File

plugins/element_handler/group.inc, line 23
The finder group element handler plugin.

Code

function finder_group_settings(&$data, $finder, $finder_element_id) {
  $items =& $data['items'];
  $element =& $finder->elements[$finder_element_id];

  // There are no settings for 'group' in the first column, move col 2 to col 1.
  $data['groups'][1] = $data['groups'][2];
  unset($data['groups'][2]);
}