diff --git a/system/src/Grav/Common/Data/Blueprint.php b/system/src/Grav/Common/Data/Blueprint.php index 9224055fd..abcb6df90 100644 --- a/system/src/Grav/Common/Data/Blueprint.php +++ b/system/src/Grav/Common/Data/Blueprint.php @@ -23,6 +23,19 @@ class Blueprint extends BlueprintForm */ protected $blueprintSchema; + /** + * Set default values for field types. + * + * @param array $types + * @return $this + */ + public function setTypes(array $types) + { + $this->blueprintSchema->setTypes($types); + + return $this; + } + /** * Get nested structure containing default values defined in the blueprints. *