This module provides a bootstrap 4 modal.

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;modalDialogClasses&quot;:&quot;modal-dialog-centered&quot;,&quot;modalDialogShowHeader&quot;:false}">Open in Bootstrap 4 Modal</a>