You are here

function sharebar_cmp_up in ShareBar 6

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

Function to calculate higher weight & move up.

2 string references to 'sharebar_cmp_up'
sharebar_preprocess_page in ./sharebar.module
Preprocess variables for region.tpl.php
theme_sharebar_buttons_table in ./sharebar.admin.inc
Theme the administer buttons page.

File

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

Code

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