Skip to content

Commit c27037e

Browse files
committed
Drop Bootstrap::framework
1 parent 019fc33 commit c27037e

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
@@ -616,35 +616,6 @@ public static function toast($selector = '', $options = []): void
616616
static::$loaded[__METHOD__][$selector] = true;
617617
}
618618

619-
/**
620-
* Method to load the ALL the Bootstrap Components
621-
*
622-
* If debugging mode is on an uncompressed version of Bootstrap is included for easier debugging.
623-
*
624-
* @param mixed $debug Is debugging mode on? [optional]
625-
*
626-
* @return void
627-
*
628-
* @since 3.0
629-
*
630-
* @deprecated 4.0 will be removed in 6.0
631-
* Will be removed without replacement
632-
* Load the different scripts with their individual method calls
633-
*/
634-
public static function framework($debug = null): void
635-
{
636-
$wa = Factory::getApplication()
637-
->getDocument()
638-
->getWebAssetManager();
639-
640-
array_map(
641-
function ($script) use ($wa) {
642-
$wa->useScript('bootstrap.' . $script);
643-
},
644-
['alert', 'button', 'carousel', 'collapse', 'dropdown', 'modal', 'offcanvas', 'popover', 'scrollspy', 'tab', 'toast']
645-
);
646-
}
647-
648619
/**
649620
* Loads CSS files needed by Bootstrap
650621
*

0 commit comments

Comments
 (0)