You are here

function weight_permission in Weight 7

Same name and namespace in other branches
  1. 7.3 weight.module \weight_permission()
  2. 7.2 weight.module \weight_permission()

Implements hook_permission().

File

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

Code

function weight_permission() {
  return array(
    'assign node weight' => array(
      'title' => t('Assign node weights'),
      'description' => t('Allow modification of node weights.'),
    ),
  );
}