| Current Path : /var/www/homesaver/www/bitrix/js/catalog/document-grid/ |
| Current File : /var/www/homesaver/www/bitrix/js/catalog/document-grid/config.php |
<?php
use Bitrix\Catalog\Config\State;
use Bitrix\Main\Loader;
if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true)
{
die();
}
$isProductBatchMethodSelected = false;
if (Loader::includeModule('catalog'))
{
$isProductBatchMethodSelected = State::isProductBatchMethodSelected();
}
return [
'css' => 'dist/document-grid.bundle.css',
'js' => 'dist/document-grid.bundle.js',
'rel' => [
'main.core',
'main.popup',
'ui.dialogs.messagebox',
'catalog.store-enable-wizard',
],
'skip_core' => false,
'settings' => [
'isProductBatchMethodSelected' => $isProductBatchMethodSelected,
],
];