You are here

function weight_forms in Weight 6

Implementation of hook_forms().

File

./weight.module, line 272
This module uses the sticky column of the node table to add weighting to nodes.

Code

function weight_forms($form_id, $args) {
  if (strpos($form_id, 'weight_view_weight_form') !== FALSE) {
    $forms[$form_id] = array(
      'callback' => 'weight_view_weight_form',
    );
    return $forms;
  }
}