protected function setLinkTitle(Attributes $attributes)
    {
        if ($this->linkTitle == '') {
            $this->linkTitle = $this->url;
        }
        // See Contao issue: #6258
        if (TL_MODE !== 'BE') {
            $attributes->setAttribute('title', $this->titleText ?: $this->linkTitle);
        }
    }