public function ResultInterface::getFacet in Facets 8
Returns the facet related to the result.
Return value
\Drupal\facets\FacetInterface The facet related to the result.
1 method overrides ResultInterface::getFacet()
- Result::getFacet in src/
Result/ Result.php - Returns the facet related to the result.
File
- src/
Result/ ResultInterface.php, line 18
Class
- ResultInterface
- The interface defining what a facet result should look like.
Namespace
Drupal\facets\ResultCode
public function getFacet();