How to create a content fragment model in code?

Avatar

Avatar

TB3dock

Avatar

TB3dock

TB3dock

24-03-2021

There are tutorials showing how to create a content fragment model via the web UI. This is of little use, as this will exist only on a developers local instance.

 

We need a way to create content fragment models in our projects repository, so that we can build and deploy it to all our environments, and so that other developers get the model when they checkout the code from git and build / install?

 

We have the same issue with page template types.

 

Any ideas?

Answers (0)