httpswww.module in HTTPS and WWW Redirect 8
Same filename and directory in other branches
Contains httpswww.module.
File
httpswww.moduleView source
<?php
/**
* @file
* Contains httpswww.module.
*/
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 = '';
$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(). |