Module Description
This module provides a bootstrap modal. Compatible with bootstrap 4 and bootstrap 5 themes.
Installation By composer (Recommended):
composer require drupal/bootstrap4_modal
Usage <a href="[some-links]" class="use-ajax" data-dialog-type="bootstrap4_modal" data-dialog-options="{&quot;dialogClasses&quot;:&quot;modal-dialog-centered&quot;,&quot;dialogShowHeader&quot;:false}">Open in Bootstrap Modal</a>
Available Dialog Options $defaultOptions = [ autoOpen: true, dialogClasses: '', dialogShowHeader: true, dialogShowHeaderTitle: true, buttonClass: 'btn', buttonPrimaryClass: 'btn-primary' ];Provides Bootstrap Modal Display for Entity Browser https://www.drupal.org/project/entity_browser
Installation By composer (Recommended):
composer require drupal/bootstrap4_modal
Usage <a href="[some-links]" class="use-ajax" data-dialog-type="bootstrap4_modal" data-dialog-options="{&quot;dialogClasses&quot;:&quot;modal-dialog-centered&quot;,&quot;dialogShowHeader&quot;:false}">Open in Bootstrap Modal</a>
Available Dialog Options $defaultOptions = [ autoOpen: true, dialogClasses: '', dialogShowHeader: true, dialogShowHeaderTitle: true, buttonClass: 'btn', buttonPrimaryClass: 'btn-primary' ];Provides Bootstrap Modal Display for Entity Browser https://www.drupal.org/project/entity_browser
Module Link
Project Usage
760
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module provides a bootstrap modal for Drupal websites, compatible with Bootstrap 4 and Bootstrap 5 themes.
Data Name
bootstrap4_modal