You are here

function rdfx_help in RDF Extensions 7.2

Implements hook_help().

File

./rdfx.module, line 84
Extends the RDF API of Drupal core to support more RDF seralizations formats other RDF capabilities.

Code

function rdfx_help($path, $arg) {
  switch ($path) {
    case 'admin/config/services/rdf/namespaces':
      return '<p>' . t('Manage the namespaces and associated prefixes used by the site. Prefixes allow URIs to be shortened in the form of <a href="http://en.wikipedia.org/wiki/CURIE">CURIEs</a> (Compact URIs). For example, the CURIE %curie represents the URI %uri.', array(
        '%curie' => 'dc:title',
        '%uri' => 'http://purl.org/dc/terms/title',
      )) . '</p>';
    case 'admin/config/services/rdf/mappings':
      if (module_exists('rdfui')) {
        $message = t('Manage RDF mappings for entity types and field bundles used throughout the site. Some mappings are not editable through the UI. See the core RDF mapping API !documentation to find out how to modify these mappings.', array(
          '!documentation' => l('documentation', 'http://drupal.org/developing/api/rdf'),
        ));
      }
      else {
        $message = t('View RDF mappings for entity types and field bundles used throughout the site. Enabling the RDF UI module (bundled with RDFx) will allow you to configure many of these mappings.');
      }
      return '<p>' . $message . '</p>';
  }
}