$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() ?>