function bootstrap4_modal_preprocess_page in Bootstrap 4 Modal 2.x
Implements hook_preprocess_HOOK().
File
- ./
bootstrap4_modal.module, line 110 - Contains bootstrap4_modal.module.
Code
function bootstrap4_modal_preprocess_page(&$variables) {
$variables['#attached']['library'][] = 'bootstrap4_modal/bs4_modal.dialog';
$variables['#attached']['library'][] = 'bootstrap4_modal/bs4_modal.dialog.ajax';
}