Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Bootstrap 4 Modal

Security covered Under active development 1,471 sites

This module provides Bootstrap modal dialogs for Drupal. It is compatible with Bootstrap 4 and 5 themes and integrates with Drupal's AJAX functionality to display content in a modal window.

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

Drupal 9–11

Ask your assistant about Bootstrap 4 Modal

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Jan 2023
Latest release
7 months ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.2.2 Stable 9–11 Mar 14, 2026
2.2.1 Stable 9–11 Jan 23, 2026
2.2.0 Stable 9–11 Nov 1, 2024
2.1.7 Stable 9–10 Jan 25, 2024
2.1.6 Stable 9–10 Jan 11, 2024
2.1.5 Stable 9–10 Oct 26, 2023
2.1.4 Stable 9–10 Jan 28, 2023