123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- /**
- * @file
- * Primary hook implementations.
- */
- /**
- * Implements hook_menu().
- */
- function metatag_importer_menu() {
- $items['admin/config/search/metatags/importer'] = array(
- 'title' => 'Importer',
- 'description' => 'Migrate settings and data from various modules to the Metatag module.',
- 'page callback' => 'metatag_importer_admin_page',
- 'access arguments' => array('administer meta tags'),
- 'file' => 'metatag_importer.admin.inc',
- 'type' => MENU_LOCAL_TASK,
- );
- $items['admin/config/search/metatags/importer/nodewords'] = array(
- 'title' => 'Import from Nodewords',
- 'description' => 'Migrate settings and data from the Drupal 6 Nodewords module to the Drupal 7 Metatag module.',
- 'page callback' => 'drupal_get_form',
- 'page arguments' => array('metatag_importer_nodewords_form'),
- 'access arguments' => array('administer meta tags'),
- 'file' => 'metatag_importer.nodewords.inc',
- 'type' => MENU_LOCAL_ACTION,
- );
- $items['admin/config/search/metatags/importer/page-title'] = array(
- 'title' => 'Import from Page Title',
- 'description' => 'Migrate settings and data from the Drupal 6 Nodewords module to the Drupal 7 Metatag module.',
- 'page callback' => 'drupal_get_form',
- 'page arguments' => array('metatag_importer_page_title_form'),
- 'access arguments' => array('administer meta tags'),
- 'file' => 'metatag_importer.page_title.inc',
- 'type' => MENU_LOCAL_ACTION,
- );
- return $items;
- }
|