You are here

protected function RouteEnhancer::applies in Taxonomy Views Integrator 8

File

src/Enhancer/RouteEnhancer.php, line 37

Class

RouteEnhancer
Enhancer to set correct views defaults arguments for Term based on TVI.

Namespace

Drupal\tvi\Enhancer

Code

protected function applies(Route $route) {
  return $route
    ->getPath() == '/taxonomy/term/{taxonomy_term}';
}