You are here

function linkit_sort_plugins_by_weight in Linkit 7.3

Function used by uasort to sort plugins by weight.

1 string reference to 'linkit_sort_plugins_by_weight'
LinkitProfile::setEnabledsearchPlugins in includes/profile.class.php
Set all enabled search plugins.

File

./linkit.module, line 249
Main file for Linkit module.

Code

function linkit_sort_plugins_by_weight($a, $b) {
  return $a["weight"] >= $b["weight"];
}