function blogapi_menu in Blog API 7.2
Same name and namespace in other branches
- 7 blogapi.module \blogapi_menu()
Implements hook_menu().
File
- ./
blogapi.module, line 24 - Enable users to post using applications that support BlogAPIs.
Code
function blogapi_menu() {
$items = array();
$items['blogapi/rsd'] = array(
'title' => 'RSD',
'page callback' => 'blogapi_rsd',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
);
$items['admin/config/services/blogapi'] = array(
'title' => 'BlogAPI',
'description' => 'Configure content types and file settings for external blogging clients.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'blogapi_admin_settings_form',
),
'access arguments' => array(
'administer blogapi',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'blogapi.admin.inc',
);
return $items;
}