This module adds a few pre-configured paragraph types:
- Text (for basic body text fields)
- View (to reference views blocks using the viewsreference module)
Four optional paragraph types can be installed (independently) if each of their dependencies are met:
- Form (to reference webforms)
- Image (to reference media using the custom mdm_media module)
- Layout (to create multi column/row paragraphs)
- Block (to reference blocks using an entity_browser to select existing blocks)
More paragraph types will be added later.
Just install as any other drupal module using composer require
.
composer require mediadukes/mdm_paragraphs:^1.0
If it's not already present in your repositories array you'll need to define inside your root composer.json
where mediadukes packages can be found.
"repositories": [
{
"type": "composer",
"url": "https://packages.mediadukes.be"
}
]
Or you can use the mediadukes drupal-project template where all of this is already added via the custom Amatus profile.