src/Pimcore/Bundle/DamBundle/PimcoreDamBundle.php line 13

Open in your IDE?
  1. <?php
  2. /**
  3.  * Pimcore DAM
  4.  *
  5.  *  @copyright  Copyright (c) Pimcore GmbH (http://www.pimcore.org)
  6.  */
  7. namespace Pimcore\Bundle\DamBundle;
  8. use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
  9. class PimcoreDamBundle extends AbstractPimcoreBundle
  10. {
  11.     const CONFIG_KEY 'pimcore_dam_config';
  12.     /**
  13.      * @return array
  14.      */
  15.     public function getCssPaths()
  16.     {
  17.         return [
  18.             '/bundles/pimcoredam/css/admin.css'
  19.         ];
  20.     }
  21.     /**
  22.      * @return array
  23.      */
  24.     public function getJsPaths()
  25.     {
  26.         return [
  27.             '/bundles/pimcoredam/js/startup.js'
  28.         ];
  29.     }
  30.     /**
  31.      * @return Installer
  32.      */
  33.     public function getInstaller()
  34.     {
  35.         return new Installer();
  36.     }
  37.     /**
  38.      * @return string[]
  39.      */
  40.     public static function getConfig()
  41.     {
  42.         return \Pimcore::getContainer()->getParameter(self::CONFIG_KEY);
  43.     }
  44. }