role_theme_switcher.module in Role Theme Switcher 8
Same filename and directory in other branches
Contains role_theme_switcher.module.
File
role_theme_switcher.moduleView source
<?php
/**
* @file
* Contains role_theme_switcher.module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function role_theme_switcher_help($route_name, RouteMatchInterface $routeMatch) {
switch ($route_name) {
case 'role_theme_switcher.role_theme_switcher_admin_settings':
return '<p>' . t("This form allows you to assign separate themes for different roles (including anonymous) in your system. <br/> Theme will be applied to users following the prioritized roles below.") . '</p>';
}
}
Functions
Name | Description |
---|---|
role_theme_switcher_help | Implements hook_help(). |