httpswww.module in HTTPS and WWW Redirect 2.x
Same filename and directory in other branches
File
httpswww.moduleView source
<?php
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function httpswww_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the httpswww module.
case 'help.page.httpswww':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Redirects to HTTPS with or without the "www" prefix.') . '</p>';
return $output;
default:
}
}
Functions
Name![]() |
Description |
---|---|
httpswww_help | Implements hook_help(). |