Commanding Chaos for Coworking, Open Source and Creative Communities

Create a Drupal 8 block in seconds | Flocon de toile

Thu, 12/04/2014 - 12:50 -- rprice

Generate a block module using console project by answering a few questions. we must indicate in which module we will generate the code (in our example, our module entitled example, original eh?). Then we define respectively the block name, label and ID. We also have the ability to associate a form with the block that will allow us to associate specific fields. In our example, we create a text field that will contain the welcome message.