public function ThemeNegotiatorInterface::applies

public ThemeNegotiatorInterface::applies(RouteMatchInterface $route_match)

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.

File

core/lib/Drupal/Core/Theme/ThemeNegotiatorInterface.php, line 34

Class

ThemeNegotiatorInterface
Defines an interface for classes which determine the active theme.

Namespace

Drupal\Core\Theme

Code

public function applies(RouteMatchInterface $route_match);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Theme!ThemeNegotiatorInterface.php/function/ThemeNegotiatorInterface::applies/8.1.x