Custom Markup Block
Categories
Component ID
2932729
Component name
Custom Markup Block
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
15
Component created
Component changed
Component body
A very simple module that provides a Drupal 8 block with single text area where you can add custom markup to be rendered. When you add the block to a region, you specify the markup required and that markup will get rendered as the block content.
How is this different to a core custom block?
This does not create an entity, the markup will be saved as config, so it can be deployed and version controlled.
Where would I use this?
You could use it to create a copyright text block, or a button block, anywhere you require some random markup in a block that needs to be in config/version controlled.
Requirements
Drupal 8 core