src/Component/ContentElement/TabEndElement.php
protected function prepareTemplateData(array $data): array
    {
        $data         = parent::prepareTemplateData($data);
        $data['grid'] = $this->getGridIterator();

        if ($iterator = $this->getIterator()) {
            $data['navigation'] = $iterator->navigation();
        }

        if ($parent = $this->getParent()) {
            $data['showNavigation'] = $parent->bs_tab_nav_position === 'after';
            $data['navClass']       = $parent->bs_tab_nav_class;
        }

        return $data;
    }
protected function prepareTemplateData(array $data): array
    {
        $data         = parent::prepareTemplateData($data);
        $data['grid'] = $this->getGridIterator();

        if ($iterator = $this->getIterator()) {
            $data['navigation'] = $iterator->navigation();
        }

        if ($parent = $this->getParent()) {
            $data['showNavigation'] = $parent->bs_tab_nav_position === 'after';
            $data['navClass']       = $parent->bs_tab_nav_class;
        }

        return $data;
    }
{@inheritDoc}