You are here

function _linkit_sort_profiles_by_weight in Linkit 7.2

Sort profiles by weight.

2 string references to '_linkit_sort_profiles_by_weight'
linkit_get_dashboard_profile in ./linkit.module
Get the "best" Linkit profile based on the users roles to use on the dashboard.
linkit_profiles_reorder in plugins/export_ui/linkit_profiles.inc
Form for reorder profiles.

File

./linkit.module, line 839
Main file for linkit module.

Code

function _linkit_sort_profiles_by_weight($a, $b) {
  return $a->weight >= $b->weight;
}