menu_node_edit_perm

Versions
menu_node_edit
menu_node_edit_perm()

Implements hook_perm().

Code

./menu_node_edit.module, line 51

<?php
function menu_node_edit_perm() {
  $perms = array('administer menu node edit', 'assign menu node edit', 'view my sections', 'publish to my sections', 'set menu visibility');
  $types = node_get_types('names');
  foreach ($types as $type => $name) {
    $perms[] = 'edit all '. $type .' content in assigned sections';
  }
  return $perms;
}
?>

Contact

  • agentrickard [at] gmail [dot] com

Donations

My Amazon.com Wish List