FluidTYPO3\Flux\Provider\AbstractProvider::getGrid PHP Method

getGrid() public method

public getGrid ( array $row ) : FluidTYPO3\Flux\Form\Container\Grid
$row array
return FluidTYPO3\Flux\Form\Container\Grid
    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];
    }