src/PeskyCMF/UI/CmfUIModule.php
public function getJsAppSettings(): array {
        $cmfConfig = $this->getCmfConfig();
        return [
            'isDebug' => config('app.debug'),
            'rootUrl' => '/' . trim($cmfConfig::url_prefix(), '/'),
            'enablePing' => (int)$cmfConfig::config('ping_interval') > 0,
            'pingInterval' => (int)$cmfConfig::config('ping_interval') * 1000,
            'uiUrl' => $cmfConfig::route('cmf_main_ui', [], false),
            'userDataUrl' => $cmfConfig::route('cmf_profile_data', [], false),
            'menuCountersDataUrl' => $cmfConfig::route('cmf_menu_counters_data', [], false),
            'defaultPageTitle' => $cmfConfig::default_page_title(),
            'pageTitleAddition' => $cmfConfig::page_title_addition(),
            'localizationStrings' => $cmfConfig::transGeneral('ui.js_component'),
        ];
    }
public function getJsAppSettings(): array {
        $cmfConfig = $this->getCmfConfig();
        return [
            'isDebug' => config('app.debug'),
            'rootUrl' => '/' . trim($cmfConfig::url_prefix(), '/'),
            'enablePing' => (int)$cmfConfig::config('ping_interval') > 0,
            'pingInterval' => (int)$cmfConfig::config('ping_interval') * 1000,
            'uiUrl' => $cmfConfig::route('cmf_main_ui', [], false),
            'userDataUrl' => $cmfConfig::route('cmf_profile_data', [], false),
            'menuCountersDataUrl' => $cmfConfig::route('cmf_menu_counters_data', [], false),
            'defaultPageTitle' => $cmfConfig::default_page_title(),
            'pageTitleAddition' => $cmfConfig::page_title_addition(),
            'localizationStrings' => $cmfConfig::transGeneral('ui.js_component'),
        ];
    }
JS application settings (accessed via CmfSettings global variable)
@return array