Create a content type from a plugin

I was having the same issue. The documentation is not updated (as far as I know).

What I did, was to check how the MediaBucket plugin works and reproduce it and it worked. I created the Content Types in the plugin, and when the plugin is installed, the content types are automatically created and also the db is updated.

1 Like