You are here

function crossdomain_menu in Crossdomain 7

Same name and namespace in other branches
  1. 8 crossdomain.module \crossdomain_menu()

Implements hook_menu().

File

./crossdomain.module, line 6

Code

function crossdomain_menu() {
  $items['admin/config/media/crossdomain'] = array(
    'title' => 'Cross Domain Settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'crossdomain_form',
    ),
    'access arguments' => array(
      'administer crossdomain',
    ),
    'file' => 'crossdomain.admin.inc',
  );
  $items['crossdomain.xml'] = array(
    'page callback' => 'crossdomain_render',
    'access arguments' => array(
      'access content',
    ),
  );
  return $items;
}