You are here

function rdfui_help in Schema.org configuration tool (RDF UI) 8

Implements hook_help().

File

./rdfui.module, line 15
Allows content types and fields to be mapped with RDF data from Schema.org.

Code

function rdfui_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.rdfui':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The RDF UI module provides an administrative user interface (UI) for mapping content types and fields with RDF schema. The module currently supports schemas from <a href="@schema">Schema.org</a>.', array(
        '@schema' => 'http://schema.org/',
      )) . '</p>';
      $output .= '<h3>' . t('Specifying Mappings') . '</h3>';
      $output .= '<dl>';
      $output .= '<dt>' . t('Content Types') . '</dt>';
      $output .= '<dd>' . t('Content types are mapped with Schema.org types') . '<dl>';
      $output .= '<dt>' . t('Fields') . '</dt>';
      $output .= '<dd>' . t('Fields will be mapped with Schema.org properties') . '</li>';
      $output .= '</dl>';
      return $output;
  }
}