Skip to content

Commit a83af47

Browse files
committed
Drop Bootstrap::framework
1 parent d7ef03d commit a83af47

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

libraries/src/HTML/Helpers/Bootstrap.php

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -585,35 +585,6 @@ public static function toast($selector = '', $options = []): void
585585
static::$loaded[__METHOD__][$selector] = true;
586586
}
587587

588-
/**
589-
* Method to load the ALL the Bootstrap Components
590-
*
591-
* If debugging mode is on an uncompressed version of Bootstrap is included for easier debugging.
592-
*
593-
* @param mixed $debug Is debugging mode on? [optional]
594-
*
595-
* @return void
596-
*
597-
* @since 3.0
598-
*
599-
* @deprecated 4.0 will be removed in 6.0
600-
* Will be removed without replacement
601-
* Load the different scripts with their individual method calls
602-
*/
603-
public static function framework($debug = null): void
604-
{
605-
$wa = Factory::getApplication()
606-
->getDocument()
607-
->getWebAssetManager();
608-
609-
array_map(
610-
function ($script) use ($wa) {
611-
$wa->useScript('bootstrap.' . $script);
612-
},
613-
['alert', 'button', 'carousel', 'collapse', 'dropdown', 'modal', 'offcanvas', 'popover', 'scrollspy', 'tab', 'toast']
614-
);
615-
}
616-
617588
/**
618589
* Loads CSS files needed by Bootstrap
619590
*

0 commit comments

Comments
 (0)