You are here

function sharebar_cmp_down in ShareBar 8

Same name and namespace in other branches
  1. 6 sharebar.module \sharebar_cmp_down()
  2. 7.2 sharebar.module \sharebar_cmp_down()
  3. 7 sharebar.module \sharebar_cmp_down()

Function to calculate lower weight & move down.

File

./sharebar.module, line 140
Allows site owner to add share buttons on their website

Code

function sharebar_cmp_down($a, $b) {
  return $a->weight < $b->weight;
}