public function ThemeNegotiator::applies in Visually Impaired Support (module) 8
Whether this theme negotiator should be used to set the theme.
Parameters
\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match object.
Return value
bool TRUE if this negotiator should be used or FALSE to let other negotiators decide.
Overrides ThemeNegotiatorInterface::applies
File
- src/
Theme/ ThemeNegotiator.php, line 47
Class
- ThemeNegotiator
- Defines the theme negotiator.
Namespace
Drupal\visually_impaired_module\ThemeCode
public function applies(RouteMatchInterface $route_match) {
return TRUE;
}