Upgrade to 3.0.2
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user