public function getGrid(array $row)
{
if (NULL !== $this->grid) {
return $this->grid;
}
$gridName = 'grid';
$cacheKey = $this->getCacheKeyForStoredVariable($row, $gridName);
if (FALSE === array_key_exists($cacheKey, self::$cache)) {
$viewContext = $this->getViewContext($row);
$grid = $this->configurationService->getGridFromTemplateFile($viewContext, $gridName);
self::$cache[$cacheKey] = $grid;
}
return self::$cache[$cacheKey];
}