public function ReverseEntityReferences::setCache in Search API 8
Sets the cache.
Parameters
\Drupal\Core\Cache\CacheBackendInterface $cache: The new cache.
Return value
$this
File
- src/
Plugin/ search_api/ processor/ ReverseEntityReferences.php, line 208
Class
- ReverseEntityReferences
- Allows indexing of reverse entity references.
Namespace
Drupal\search_api\Plugin\search_api\processorCode
public function setCache(CacheBackendInterface $cache) {
$this->cache = $cache;
return $this;
}