You are here

function sophron_help in Sophron 8

Implements hook_help().

File

./sophron.module, line 13
Sophron - MIME types management API.

Code

function sophron_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'sophron.settings':
      $output = '';
      $output .= '<p>' . t('<strong>Sophron</strong> provides an extensive MIME types management API, enhancing Drupal core capabilities. It integrates with the <a href=":mimemap_url">FileEye/MimeMap</a> PHP library.', [
        ':mimemap_url' => 'https://github.com/FileEye/MimeMap/',
      ]) . '</p>';
      return $output;
  }
}