How to add another Block ?ΒΆ

Casemate is built with extensibility in mind.

It’s not intended to fit all requirements with the few blocks it provides. That’s why it proposes an easy way to create you own block bundles.

./app/console generate:block:bundle –bundle-name=”TestBlockBundle” –namespace=”Acme\Bundle\TestBlockBundle” –dir=”./src”

This command will build a ready to go TestBlockBundle in the src/Acme/Bundle/TestBlockBundle directory.

You’ll than have to edit the TectBlockController and the Document\TestBlock classes to fit your needs.

Project Versions

Previous topic

The doctrine provider block type

This Page