You are here

function user_relationship_node_access_menu in User Relationships 6

Implementation of hook_menu().

File

user_relationship_node_access/user_relationship_node_access.module, line 213
User Relationships Node Access module Allows content posted to be shared with users in one's social network

Code

function user_relationship_node_access_menu() {
  $items = array();
  $items['admin/content/user_relationship_node_access'] = array(
    'title' => 'Posting to social network',
    'description' => 'Set up sharing content based on user relationships',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'user_relationship_node_access_admin_settings',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer nodes',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}