You are here

public function SearchApiTagCache::getRowId in Search API 8

Returns a unique identifier for the specified row.

Parameters

\Drupal\views\ResultRow $row: A result row.

Return value

string The row identifier.

Overrides CachePluginBase::getRowId

File

src/Plugin/views/cache/SearchApiTagCache.php, line 96

Class

SearchApiTagCache
Defines a tag-based cache plugin for use with Search API views.

Namespace

Drupal\search_api\Plugin\views\cache

Code

public function getRowId(ResultRow $row) {
  return $row->search_api_id;
}