public function WebformShareThemeNegotiator::applies in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_share/src/Theme/WebformShareThemeNegotiator.php \Drupal\webform_share\Theme\WebformShareThemeNegotiator::applies()
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
- modules/
webform_share/ src/ Theme/ WebformShareThemeNegotiator.php, line 38
Class
- WebformShareThemeNegotiator
- Sets the theme for the webform share page.
Namespace
Drupal\webform_share\ThemeCode
public function applies(RouteMatchInterface $route_match) {
return WebformShareHelper::isPage($route_match);
}