You are here

public function MixitupFunc::populateNodeFilters in MixItUp Views 8

Same name and namespace in other branches
  1. 8.2 src/MixitupFunc.php \Drupal\mixitup_views\MixitupFunc::populateNodeFilters()

Collects information regarding wich nodes have a specific tid.

Parameters

int $nid: Node id.

int $tid: Taxonomy id.

1 call to MixitupFunc::populateNodeFilters()
MixitupFunc::populateFilters in src/MixitupFunc.php
Populates structured array of used taxonomy terms.

File

src/MixitupFunc.php, line 152

Class

MixitupFunc
Performs assistance functionality.

Namespace

Drupal\mixitup_views

Code

public function populateNodeFilters($nid, $tid) {
  self::$nodeFilters[$tid][] = $nid;
}