Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (View\ConfigInterface $viewConfig, ThemeProviderInterface $themeProvider) | |
getBundleFileMaxSize ($area, $theme) | |
getExcludedDirectories ($area, $theme) | |
getExcludedFiles ($area, $theme) | |
Data Fields | |
const | VIEW_CONFIG_MODULE = 'Js_Bundle' |
const | VIEW_CONFIG_BUNDLE_SIZE_NAME = 'bundle_size' |
Static files bundling configuration
Use this to get configuration settings related to JavaScript built-in bundling
Definition at line 16 of file BundleConfig.php.
__construct | ( | View\ConfigInterface | $viewConfig, |
ThemeProviderInterface | $themeProvider | ||
) |
BundleConfig constructor
View\ConfigInterface | $viewConfig | |
ThemeProviderInterface | $themeProvider |
Definition at line 57 of file BundleConfig.php.
getBundleFileMaxSize | ( | $area, | |
$theme | |||
) |
Max size of bundle files (in KB)
string | $area | |
string | $theme |
Definition at line 72 of file BundleConfig.php.
getExcludedDirectories | ( | $area, | |
$theme | |||
) |
Get list of directories which must be excluded
string | $area | |
string | $theme |
Definition at line 97 of file BundleConfig.php.
getExcludedFiles | ( | $area, | |
$theme | |||
) |
Get list of files which must be excluded from bundling
string | $area | |
string | $theme |
Definition at line 109 of file BundleConfig.php.
const VIEW_CONFIG_BUNDLE_SIZE_NAME = 'bundle_size' |
Name of the bundle file size configuration setting
Definition at line 26 of file BundleConfig.php.
const VIEW_CONFIG_MODULE = 'Js_Bundle' |
Namespace of the bundling configuration
Definition at line 21 of file BundleConfig.php.