You are here

function access_by_ref_menu in Access by Reference 7

File

./access_by_ref.module, line 182

Code

function access_by_ref_menu() {
  $items = array();
  $items['admin/config/content/access_by_ref'] = array(
    'title' => 'Set Access by Reference',
    'description' => 'Set access to node editing by entity/field references',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'access_by_ref_admin',
    ),
    'access arguments' => array(
      'administer access_by_ref settings',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}