backdrop-contrib / conditional_content_block

A module that let's you provide different content options for different roles.
GNU General Public License v2.0
0 stars 0 forks source link

How to create a Block Type as opposed to a simple block #3

Closed stpaultim closed 2 years ago

stpaultim commented 2 years ago

In theory, I can create many blocks with this module. BUT, all the blocks share the same content.

How do I store unique content for each block?

Should each block have it's own config file or do I store all the content for blocks generated by this module in one config file?

(Assuming I should be using config at all).

docwilmot commented 2 years ago

If you dont use a config file, then all blocks would have unique content.

stpaultim commented 2 years ago

Actually, I'm going to close this issue as well - since I've already implemented the advice of @docwilmot and simply taken the content out of config. I can now create multiple different blocks of this type.