Contao\ContentVimeo::generate PHP Method

generate() public method

Show the Vimeo link in the back end
public generate ( ) : string
return string
    public function generate()
    {
        if ($this->vimeo == '') {
            return '';
        }
        if (TL_MODE == 'BE') {
            return '<p><a href="https://vimeo.com/' . $this->vimeo . '" target="_blank">vimeo.com/' . $this->vimeo . '</a></p>';
        }
        return parent::generate();
    }