Upgrade to 3.0.2

This commit is contained in:
Bastian Allgeier
2019-02-19 16:39:58 +01:00
parent f76ee1bb14
commit 8e3d86a590
44 changed files with 638 additions and 264 deletions

View File

@@ -165,6 +165,15 @@ class Field
return $this->key;
}
/**
* @see Field::parent()
* @return Page|File|Site|User
*/
public function model()
{
return $this->parent;
}
/**
* Provides a fallback if the field value is empty
*