Skip to content
Snippets Groups Projects
Select Git revision
  • 1.4.31
  • 1.3.x default
  • 1.4.x
  • 2.0.x
  • 469-make-dom-fields-wider
  • 1.2.x
  • 1.0.x
  • 1.4.35
  • 1.4.34
  • 1.4.33
  • 1.4.32
  • 1.4.30
  • 1.4.29
  • 1.4.28
  • 1.4.26
  • 1.4.27
  • 1.4.25
  • 1.4.24
  • 1.4.23
  • 1.4.22
  • 1.4.21
  • 1.4.20
  • 1.4.19
  • 1.4.18
  • 1.4.17
  • 1.4.16
26 results

ebt_core

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • Ivan Abramenko's avatar
    Issue #3533194 by imranbcc: Update field_group module dependency to v4
    Ivan Abramenko authored
    43fc9e77
    History

    Extra Block Types (EBT): Core

    EBT modules provide ability to add different blocks in Layout Builder in few clicks. EBT Core contains helper functions for EBT modules.

    For a full description of the module, visit the project page.

    Submit bug reports and feature suggestions, or track changes in the issue queue.

    Table of contents

    • Requirements
    • Recommended modules
    • Installation
    • Configuration
    • Creating a new EBT module
    • Troubleshooting
    • FAQ
    • External Documentation
    • Maintainers

    Requirements

    This module requires the following modules:

    EBT Modules use Media module with Media Image type for background images. Check Media Image type exists before install EBT Core module.

    Recommended modules-

    EBT modules provide ability to add different blocks in Layout Builder in few clicks. You can install separate block types from this bunch of EBT modules:

    More about EBT blocks read on EBT Core module page: EBT Core

    If you are looking for Extra Paragraph Types, you can check out these modules:

    More about EPT paragraphs read on EPT Core module page: EPT Core

    If you want to enhance UI for adding Blocks from Layout builder try this module: Layout Builder Modal

    If you want to enhance UI for adding Paragraphs try these modules: Paragraphs Edit Paragraphs Modal Edit

    Installation

    Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.

    Configuration

    EBT Core has configuration form with Primary/Secondary colors and Mobile/Tablet/Desktop breakpoints in Administration » Configuration » Content authoring » Extra Block Types (EBT) settings

    These configs will be applied to other EBT blocks by default.

    Creating a new EBT module

    EBT Core module contains starterkit folder with boilerplate for a new EBT module. You need to replace ebt_starterkit in files and filenames and us it as usual custom module.

    If you enable EBT Starterkit module, it will be possible to create a new EBT module for your project with Drush command (for Drush 12+):

    drush generate ebt:module

    Make sure, you use ebt_* prefix for machine_name (e.g. ebt_tabs, ebt_cards). The prefix ebt_* is required for EBT block functionality. After that, install generated module as usual Drupal module. If you are planning to contribute your EBT module, then export configs with new configs for fields back to /config/install folder in your new EBT module.

    Troubleshooting

    • If you see the error during EBT modules installation: "The EBT Carousel needs to be created "Image" media type. (Currently using Media type Image version Not created)" Then you need to create Image media type: Structure » Media types » Add media type

    • If you use Field Layout module, it will automatically apply Layout Builder for new EBT block types. So you will need to disable Layout Builder for displaying block type fields, for example:

      /admin/structure/block/block-content/manage/ebt_cta/display/default

    FAQ

    Q: Can I use only one EBT block type, for example EBT Slideshow, without other modules?

    A: Yes, sure. EBT block types tend to be standalone modules. You can install only needed block types.

    External Documentation

    You can also view the EBT documentation at Drupal Book: https://drupalbook.org/ebt

    Maintainers