$fieldsRegistry->toArray()
Returns the props of all fields, keyed by their declared name
$fieldsRegistry->toArray() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.