You are here

function remove_http_headers_help in Remove HTTP headers 8

Implements hook_help().

Return value

string|void The help page markup.

File

./remove_http_headers.module, line 40
Contains remove_http_headers module hooks.

Code

function remove_http_headers_help(string $route_name, RouteMatchInterface $route_match) {
  if ($route_name === 'help.page.remove_http_headers') {
    $readme_content = file_get_contents(dirname(__FILE__) . '/README.md');
    return '<pre>' . $readme_content . '</pre>';
  }
}