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="{"dialogClasses":"modal-dialog-centered","dialogShowHeader":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
Project information
- Project categories: Developer tools
1,221 sites report using this module
- Created by vhin0210 on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
