src/Netzmacht/Bootstrap/Buttons/ContentElement/ButtonElement.php
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);
        }
    }
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);
        }
    }
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 ) ; } }
Set title link.

@param Attributes $attributes Link attributes.

@return void
Set title link .