function joomla_menu in Joomla to Drupal 6
Same name and namespace in other branches
- 5 joomla.module \joomla_menu()
- 7.2 joomla.module \joomla_menu()
- 7 joomla.module \joomla_menu()
Menu callback. Prints a listing of active nodes on the site.
File
- ./
joomla.module, line 52 - The joomla module used for migrate Joomla to Drupal.
Code
function joomla_menu() {
$items = array();
$items['admin/content/joomla_import'] = array(
'title' => 'Import from Joomla',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'joomla_import_form',
),
'access arguments' => array(
'administer joomla',
),
'description' => 'Import content, categories and users from a Joomla website',
);
$items['admin/settings/joomla'] = array(
'title' => 'Joomla to Drupal',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'joomla_admin_settings',
),
'access arguments' => array(
'administer joomla',
),
'description' => 'Migrate Joomla to Drupal.',
);
return $items;
}