function ThemeNegotiator::applies

Same name in other branches
  1. 9 core/lib/Drupal/Core/Theme/ThemeNegotiator.php \Drupal\Core\Theme\ThemeNegotiator::applies()
  2. 10 core/lib/Drupal/Core/Theme/ThemeNegotiator.php \Drupal\Core\Theme\ThemeNegotiator::applies()
  3. 11.x core/lib/Drupal/Core/Theme/ThemeNegotiator.php \Drupal\Core\Theme\ThemeNegotiator::applies()

Overrides ThemeNegotiatorInterface::applies

File

core/lib/Drupal/Core/Theme/ThemeNegotiator.php, line 56

Class

ThemeNegotiator
Provides a class which determines the active theme of the page.

Namespace

Drupal\Core\Theme

Code

public function applies(RouteMatchInterface $route_match) {
    return TRUE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.