function TestThemeNegotiator::applies
Same name in other branches
- 8.9.x core/modules/system/tests/modules/menu_test/src/Theme/TestThemeNegotiator.php \Drupal\menu_test\Theme\TestThemeNegotiator::applies()
- 10 core/modules/system/tests/modules/menu_test/src/Theme/TestThemeNegotiator.php \Drupal\menu_test\Theme\TestThemeNegotiator::applies()
- 11.x core/modules/system/tests/modules/menu_test/src/Theme/TestThemeNegotiator.php \Drupal\menu_test\Theme\TestThemeNegotiator::applies()
Overrides ThemeNegotiatorInterface::applies
File
-
core/
modules/ system/ tests/ modules/ menu_test/ src/ Theme/ TestThemeNegotiator.php, line 19
Class
- TestThemeNegotiator
- Tests the theme negotiation functionality.
Namespace
Drupal\menu_test\ThemeCode
public function applies(RouteMatchInterface $route_match) {
return (bool) $route_match->getParameter('inherited');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.