function rdf_help
Same name in other branches
- 7.x modules/rdf/rdf.module \rdf_help()
- 9 core/modules/rdf/rdf.module \rdf_help()
Implements hook_help().
File
-
core/
modules/ rdf/ rdf.module, line 16
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>.', [
':rdfa' => 'http://www.w3.org/TR/xhtml-rdfa-primer/',
':rdf' => 'https://www.drupal.org/documentation/modules/rdf',
]) . '</p>';
return $output;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.