private function ThemeSwitchNegotiator::isAdminRouteUrl in Domain Theme Switch 8
Function check is admin route page.
Parameters
\Drupal\Core\Routing\RouteMatchInterface $route_match: RouteMatchInterface Object.
Return value
bool True if route is admin path.
1 call to ThemeSwitchNegotiator::isAdminRouteUrl()
- ThemeSwitchNegotiator::determineActiveTheme in src/
Theme/ ThemeSwitchNegotiator.php - Determine the active theme for the request.
File
- src/
Theme/ ThemeSwitchNegotiator.php, line 137
Class
- ThemeSwitchNegotiator
- Implements ThemeNegotiatorInterface.
Namespace
Drupal\domain_theme_switch\ThemeCode
private function isAdminRouteUrl(RouteMatchInterface $route_match) {
return $this->adminContext
->isAdminRoute($route_match
->getRouteObject());
}