You are here

function rdf_help in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/rdf/rdf.module \rdf_help()

Implements hook_help().

File

core/modules/rdf/rdf.module, line 14
Enables semantically enriched output for Drupal sites in the form of RDFa.

Code

function rdf_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.rdf':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The RDF module enriches your content with metadata to let other applications (e.g., search engines, aggregators, and so on) better understand its relationships and attributes. This semantically enriched, machine-readable output for your website uses the <a href=":rdfa">RDFa specification</a>, which allows RDF data to be embedded in HTML markup. Other modules can define mappings of their data to RDF terms, and the RDF module makes this RDF data available to the theme. The core modules define RDF mappings for their data model, and the core themes output this RDF metadata information along with the human-readable visual information. For more information, see the <a href=":rdf">online documentation for the RDF module</a>.', array(
        ':rdfa' => 'http://www.w3.org/TR/xhtml-rdfa-primer/',
        ':rdf' => 'https://www.drupal.org/documentation/modules/rdf',
      )) . '</p>';
      return $output;
  }
}