You are here

function _wsconfig_form_overview_sort in Web Service Data 7

Sorting for the overview pages.

2 string references to '_wsconfig_form_overview_sort'
wsconfig_form_wsconfig_overview_form_alter in modules/wsconfig/wsconfig.module
Implements hook_form_alter(). Sorts the WS Config overview table.
wsconfig_form_wsconfig_type_overview_form_alter in modules/wsconfig/wsconfig.module
Implements hook_form_alter(). Sorts the WS Config type overview table.

File

modules/wsconfig/wsconfig.module, line 275
Main module for wsconfig

Code

function _wsconfig_form_overview_sort($a, $b) {
  return strcasecmp($a[0]['data']['#label'], $b[0]['data']['#label']);
}