Format text or strings as DOI links
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
553 B

<?php
/**
* @file
* Contains doi_field_formatter.module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function doi_field_formatter_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the facet_field_formatter module.
case 'help.page.facet_field_formatter':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Format string and text fields as doi links') . '</p>';
return $output;
default:
}
}