$content([$lang])->get($key, $arguments = null)

Gets a field from the content

  • $lang (string)
    Optional, language code in multi-lang installation
  • $key (string)
    A field name
  • $arguments ()
  • return (Field)

Example

<?php $field = $page->content()->get('title'); ?>