morethanthemes / extra_paragraphs
Adds extra paragraphs types.
Installs: 24
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:drupal-recipe
Requires
- drupal/core: >=10.4 || ^11
- drupal/paragraphs: ^1.19
README
This recipe provides a set of custom paragraph types to be used with the Paragraphs module.
Paragraph Types
Highlight
The "Highlight" paragraph type provides a way to feature a piece of content with an image, title, body text, and a link. It includes the following fields:
- Title (
field_mt_highlight_title
): The title of the highlight. - Body (
field_mt_highlight_body
): The main text content. - Image (
field_mt_highlight_image
): An image to display with the highlight. - Image Fit (
field_mt_highlight_image_fit
): Specifies how the image should fit within its container (e.g., "cover", "contain"). - Link (
field_mt_highlight_link
): A URL for a call-to-action or more information.
Installation
-
This recipe requires the following modules to be enabled:
-
Apply the recipe using the following Drush command:
drush recipe ../recipes/contrib/extra_paragraphs
Configuration
The paragraph types are automatically configured upon installation. You can
manage the fields and display settings for the "Highlight" paragraph type by
navigating to the "Paragraphs types" administration page
(/admin/structure/paragraphs_type
).