public function CachePluginBase::getRowCacheKeys in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 327 - Contains \Drupal\views\Plugin\views\cache\CachePluginBase.
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),
];
}