get field settings via API
<?php | |
// via field settings | |
$field = $fields->get("title"); | |
echo "width:" . $field->columnWidth; | |
// via template context | |
$tpl = $templates->get("basic-page"); | |
$field = $tpl->fieldgroup->getField("title", true); | |
echo "width:" . $field->columnWidth; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment