You are here

function evoc_menu in RDF Extensions 7.2

Implements hook_menu().

File

evoc/evoc.module, line 12
Allows to import external Vocabularies in order to map them to Drupal data structure.

Code

function evoc_menu() {
  $items['evoc/import'] = array(
    'title' => 'Import external RDF vocabulary',
    'description' => 'Import RDF terms of an external vocabulary.',
    'page callback' => 'evoc_import',
    'access arguments' => array(
      'administer content types',
    ),
    'file' => 'evoc.pages.inc',
  );
  $items['evoc/import_core'] = array(
    'title' => 'Import core RDF vocabularies',
    'description' => 'Perform a batch import of the vocabularies used by core.',
    'page callback' => 'evoc_import_core',
    'access arguments' => array(
      'administer content types',
    ),
    'file' => 'evoc.pages.inc',
  );
  return $items;
}