Same name and namespace in other branches
  1. 4.6.x modules/blogapi.module \blogapi_menu()
  2. 4.7.x modules/blogapi.module \blogapi_menu()
  3. 5.x modules/blogapi/blogapi.module \blogapi_menu()

File

modules/blogapi/blogapi.module, line 791
Enable users to post using applications that support XML-RPC blog APIs.

Code

function blogapi_menu() {
  $items['blogapi/rsd'] = array(
    'title' => 'RSD',
    'page callback' => 'blogapi_rsd',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['admin/settings/blogapi'] = array(
    'title' => 'Blog API',
    'description' => 'Configure the content types available to external blogging clients.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'blogapi_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}