You are here

role_theme_switcher.module in Role Theme Switcher 8

File

role_theme_switcher.module
View 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

Namesort descending Description
role_theme_switcher_help Implements hook_help().