public function FacetapiTestTerm::build in Facet API 7.2
Same name and namespace in other branches
- 6.3 tests/facetapi_test/plugins/facetapi/test_query_type.inc \FacetapiTestTerm::build()
- 7 tests/facetapi_test.plugins.inc \FacetapiTestTerm::build()
Implements FacetapiQueryTypeInterface::build().
Overrides FacetapiQueryTypeInterface::build
File
- tests/
facetapi_test.plugins.inc, line 90 - Test adapter and plugins.
Class
- FacetapiTestTerm
- Plugin for "term" query type.
Code
public function build() {
$build = array();
$build['testthree'] = array(
'#count' => 3,
);
$build['testone'] = array(
'#count' => 1,
);
$build['testtwo'] = array(
'#count' => 2,
);
// Returns initialized build.
return $build;
}