3 namespace Drupal\theme_test\Theme;
5 use Drupal\Core\Routing\RouteMatchInterface;
6 use Drupal\Core\Theme\ThemeNegotiatorInterface;
9 * Implements a test theme negotiator which was configured with a high priority.
11 class HighPriorityThemeNegotiator implements ThemeNegotiatorInterface {
16 public function applies(RouteMatchInterface $route_match) {
17 return ($route_match->getRouteName() == 'theme_test.priority');
23 public function determineActiveTheme(RouteMatchInterface $route_match) {