You are here

private function MenuTree::menuItemIsFilterApplied in Taxonomy Facets 8

2 calls to MenuTree::menuItemIsFilterApplied()
MenuTree::buildMenuTreeRecursively in src/MenuTree.php
MenuTree::calculateItemCssClass in src/MenuTree.php

File

src/MenuTree.php, line 200

Class

MenuTree

Namespace

Drupal\taxonomy_facets

Code

private function menuItemIsFilterApplied($tid) {
  if ($this->tidSelected === $tid) {
    return TRUE;
  }
  return FALSE;
}