public function CachePluginBase::getRowCacheKeys in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/cache/CachePluginBase.php \Drupal\views\Plugin\views\cache\CachePluginBase::getRowCacheKeys()
- 9 core/modules/views/src/Plugin/views/cache/CachePluginBase.php \Drupal\views\Plugin\views\cache\CachePluginBase::getRowCacheKeys()
Returns the row cache keys.
Parameters
\Drupal\views\ResultRow $row: A result row.
Return value
string[] The row cache keys.
File
- core/
modules/ views/ src/ Plugin/ views/ cache/ CachePluginBase.php, line 337
Class
- CachePluginBase
- The base plugin to handle caching.
Namespace
Drupal\views\Plugin\views\cacheCode
public function getRowCacheKeys(ResultRow $row) {
return [
'views',
'fields',
$this->view
->id(),
$this->view->current_display,
$this
->getRowId($row),
];
}