function social_content_menu in Social Content 7
Same name and namespace in other branches
- 7.2 social_content.module \social_content_menu()
Implements hook_menu().
File
- ./
social_content.module, line 10 - Social Content module.
Code
function social_content_menu() {
$info = array();
$info['admin/config/services/social-content'] = array(
'title' => 'Social content',
'page callback' => 'social_content_overview_types',
'access arguments' => array(
'administer social content',
),
'file' => 'social_content.admin.inc',
);
$info['admin/config/services/social-content/%social_content_type/edit'] = array(
'title' => 'Edit Social content type',
'title callback' => 'social_content_page_title',
'title arguments' => array(
4,
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'social_content_form',
4,
),
'access arguments' => array(
'administer social content',
),
'file' => 'social_content.admin.inc',
);
$info['admin/config/services/social-content/%social_content_type/run'] = array(
'title' => 'Run Social content import',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'social_content_import_run_form',
4,
),
'access arguments' => array(
'administer social content',
),
'file' => 'social_content.admin.inc',
);
return $info;
}