You are here

function sharebar_cmp_up in ShareBar 8

Same name and namespace in other branches
  1. 6 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_region in ./sharebar.module
Preprocess variables for region.tpl.php
template_preprocess_sharebar_buttons_table in ./sharebar.module
Theme the administer buttons page.

File

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

Code

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