public function onExportTheme(DOMDocument $xml, ZipWriter $archive, $themeId): void
    {
        // Add the tables
        $table = $xml->createElement('table');
        $table->setAttribute('name', 'tl_bs_grid');

        $tables = $xml->getElementsByTagName('tables')->item(0);
        $table  = $tables->appendChild($table);

        /** @var GridModel $adapter */
        $adapter    = $this->framework->getAdapter(GridModel::class);
        $collection = $adapter->findBy('pid', $themeId);

        if ($collection) {
            foreach ($collection as $model) {
                $this->addDataRow($xml, $table, $model->row());
            }
        }
    }