Same name and namespace in other branches
- 8.9.x core/modules/block/src/Theme/AdminDemoNegotiator.php \Drupal\block\Theme\AdminDemoNegotiator::applies()
- 9 core/modules/block/src/Theme/AdminDemoNegotiator.php \Drupal\block\Theme\AdminDemoNegotiator::applies()
File
- core/
modules/ block/ src/ Theme/ AdminDemoNegotiator.php, line 16
Class
- AdminDemoNegotiator
- Negotiates the theme for the block admin demo page via the URL.
Namespace
Drupal\block\ThemeCode
public function applies(RouteMatchInterface $route_match) {
return $route_match
->getRouteName() == 'block.admin_demo';
}