Chris@0: getRouteName() == 'block.admin_demo'; Chris@0: } Chris@0: Chris@0: /** Chris@0: * {@inheritdoc} Chris@0: */ Chris@0: public function determineActiveTheme(RouteMatchInterface $route_match) { Chris@0: // We return exactly what was passed in, to guarantee that the page will Chris@0: // always be displayed using the theme whose blocks are being configured. Chris@0: return $route_match->getParameter('theme'); Chris@0: } Chris@0: Chris@0: }