public function SearchApiIndex::getCacheId in Search API 7
Get the cache ID prefix used for this index's caches.
Parameters
$type: The type of cache. Currently only "fields" is used.
Return value
The cache ID (prefix) for this index's caches.
2 calls to SearchApiIndex::getCacheId()
- SearchApiIndex::getFields in includes/
index_entity.inc - Returns a list of all known fields for this index.
- SearchApiIndex::resetCaches in includes/
index_entity.inc - Reset internal caches.
File
- includes/
index_entity.inc, line 963 - Contains SearchApiIndex.
Class
- SearchApiIndex
- Class representing a search index.
Code
public function getCacheId($type = 'fields') {
return 'search_api:index-' . $this->machine_name . '--' . $type;
}