$field->link()

Creates a link for any field value

  • return (HTMl a-tag)

Example

The following create a link (a-tag) with the title as link text and the page url as url.

<?= $page->title()->link() ?>

Is something missing or incorrect? Edit this page on Github…