Grid/Export/Export.php
protected function getTemplates()
    {
        if (empty($this->templates)) {
            $this->setTemplate($this->grid->getTemplate());
        }

        return $this->templates;
    }
protected function getTemplates()
    {
        if (empty($this->templates)) {
            $this->setTemplate($this->grid->getTemplate());
        }

        return $this->templates;
    }
Template Loader.

@throws \Exception

@return \Twig_TemplateInterface[]