You are here

public function FacetapiTestNonterm::build in Facet API 7.2

Same name and namespace in other branches
  1. 7 tests/facetapi_test.plugins.inc \FacetapiTestNonterm::build()

Implements FacetapiQueryTypeInterface::build().

Overrides FacetapiQueryTypeInterface::build

File

tests/facetapi_test.plugins.inc, line 124
Test adapter and plugins.

Class

FacetapiTestNonterm
Plugin for "nonterm" query type.

Code

public function build() {
  $build = array();
  $build['testfour'] = array(
    '#count' => 4,
  );
  $build['testsix'] = array(
    '#count' => 6,
  );
  $build['testfive'] = array(
    '#count' => 5,
  );

  // Returns initialized build.
  return $build;
}