public function ReverseEntityReferences::getCache in Search API 8
Retrieves the cache.
Return value
\Drupal\Core\Cache\CacheBackendInterface The cache.
File
- src/
Plugin/ search_api/ processor/ ReverseEntityReferences.php, line 196
Class
- ReverseEntityReferences
- Allows indexing of reverse entity references.
Namespace
Drupal\search_api\Plugin\search_api\processorCode
public function getCache() {
return $this->cache ?: \Drupal::service('cache.default');
}