vendor/marketingfactory/destisuite/src/DestiSuiteBundle/DestiSuiteBundle.php line 7

Open in your IDE?
  1. <?php
  2. namespace DestiSuiteBundle;
  3. use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
  4. class DestiSuiteBundle extends AbstractPimcoreBundle
  5. {
  6.     public function getJsPaths()
  7.     {
  8.         $return = array();
  9.         
  10.         try {
  11.             $path \Pimcore::getContainer()->getParameter('ds_pimcore_admin_setting_js_path');
  12.             if (!empty($path)) {
  13.                 $return[] = $path;
  14.             }
  15.         } catch (\Exception $ex) {
  16.         }
  17.         
  18.         $return[] = '/bundles/destisuite/js/pimcore/startup_v2.js';
  19.         return $return;
  20.     }
  21. }