Skip to content

eaudeweb/edw_paragraphs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EDW Paragraphs

=============================================

This module provides a number of Paragraph types.

Architecture

The module provides the following paragraph types:

├── edw_paragraphs
    ├── edw_paragraphs_accordion
    ├── edw_paragraphs_announcement
    ├── edw_paragraphs_banner
    ├── edw_paragraphs_base
    ├── edw_paragraphs_block
    ├── edw_paragraphs_carousel
    ├── edw_paragraphs_container
    ├── edw_paragraphs_document
    ├── edw_paragraphs_facts_figures
    ├── edw_paragraphs_gallery
    ├── edw_paragraphs_heading
    ├── edw_paragraphs_image
    ├── edw_paragraphs_media
    └── edw_paragraphs_tabs
    └── edw_paragraphs_timeline
    └── edw_paragraphs_view

Installation

  1. Add the following snippet to the repositories section of your composer.json file:
{
    "type": "git",
    "url": "https://github.com/eaudeweb/edw_paragraphs.git"
},
{
    "type": "git",
    "url": "https://github.com/eaudeweb/edw_media.git"
}
  1. Run composer require eaudeweb/edw_paragraphs:^1.0

  2. Enable the module: drush en edw_paragraphs

Sub-modules

The following submodules can be used to extend the event functionality. They can also be used independently to attach to other entities.

Base

  • Button: The Button paragraph allows editors to insert a link in different variants.
  • Card: The Card paragraph allows editors to display a bordered box around its content. It includes optional fields like title, image, HTML text, metadata for headers/footer.
  • HTML: The Rich text paragraph adds an optional title field with body.
  • Links block: The Links block paragraph displays a list of links.
  • Columns: The Columns paragraph allows editors to group multiple components (e.g.: HTML, Card, Document) in one, two or more columns.
  • Quote: The Quote paragraph allows editors to add a quotation.

Accordion

The paragraph shows a collection of collapsible items. To get this paragraph type enable the EDW Paragraphs Accordion submodule.

Announcement

Provides an Announcement block. To get this paragraph type enable the EDW Paragraphs Announcement submodule.

Banner

Provides Banner paragraph that display a prominent message and related action. To get this paragraph type enable the EDW Paragraphs Banner submodule.

Block

Provides a Block item paragraph with a field Block (plugin) that allows a content entity to reference and configure custom block instances.

Carousel

Provides Carousel paragraph that display items similar to a Banner with multiple slides. To get this paragraph type enable the EDW Paragraphs Carousel submodule.

Container

This module provides a paragraph Container useful when you want to store other components. To get this paragraph type enable the EDW Paragraphs Carousel submodule.

Document

The Document paragraph allows editors to render documents. To get this paragraph type enable the EDW Paragraphs Carousel submodule.

Facts and figures

Provides Facts and figures paragraph to display numerical representations of facts that are easier to portray visually through the use of statistics. To get this paragraph type enable the EDW Paragraphs Facts and figures submodule.

Gallery

This module provides a paragraph type that displays a gallery of media entities. To get this paragraph type enable the EDW Paragraphs Gallery submodule.

Heading

This module provides a paragraph type that displays headings (h2-h6). To get this paragraph type enable the EDW Paragraphs Heading submodule.

Image

This module provides a paragraph type, used to add an image. To get this paragraph type enable the EDW Paragraphs Heading submodule.

Text with Featured media

This module provides the Text with Featured media paragraph. To get this paragraph type enable the EDW Paragraphs Media submodule.

Tabs

Provides Tabs paragraph that displays items easy to scan labels of the relevant information, indicative of the additional content that is available through extra interaction. To get this paragraph type enable the EDW Paragraphs Gallery submodule.

Timeline

Provides Timeline paragraph that displays items visually on a time axis. To get this paragraph type enable the EDW Paragraphs Gallery submodule.

View

Provides a View paragraph using Views Reference Field module that embed a view block. To get this paragraph type enable the EDW Paragraphs View submodule.

Other EDW modules:

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 7