You are here

function sharebar_cmp_up in ShareBar 7

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

Function to calculate higher weight & move up.

2 string references to 'sharebar_cmp_up'
sharebar_onblock in ./sharebar.module
Custom function to assemble renderable array for block content.
theme_sharebar_buttons_table in ./sharebar.admin.inc
Theme the administer buttons page.

File

./sharebar.module, line 243
Various module information.

Code

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