bundles/SaintElmos/BaseBundle/SaintElmosBaseBundle.php line 10

Open in your IDE?
  1. <?php
  2. namespace SaintElmos\BaseBundle;
  3. use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
  4. use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
  5. use SaintElmos\BaseBundle\Interfaces\IncludeInterface;
  6. use SaintElmos\BaseBundle\Services\Installer;
  7. class SaintElmosBaseBundle extends AbstractPimcoreBundle implements IncludeInterface
  8. {
  9.     use PackageVersionTrait;
  10.     /**
  11.      * @return string
  12.      */
  13.     /* protected function getComposerPackageName()
  14.     {
  15.         return 'saint-elmos/base-bundle';
  16.     } */
  17.     
  18.     public function getJsPaths()
  19.     {
  20.         return [
  21.             '/bundles/saintelmosbase/js/pimcore/startup.js',
  22.             '/bundles/saintelmosbase/js/pimcore/object/classes/data/localizedTable.js',
  23.             '/bundles/saintelmosbase/js/pimcore/object/tags/localizedTable.js'
  24.         ];
  25.     }
  26.     public function getCssPaths()
  27.     {
  28.         return [
  29.             '/bundles/saintelmosbase/static/backend/css/localizedTable/admin.css'
  30.         ];
  31.     }
  32.     public function getInstaller()
  33.     {
  34.         return $this->container->get(Installer::class);
  35.         // Test peter
  36.     }
  37.     /**
  38.      * Returns list of template files to include in header
  39.      * @return array
  40.      */
  41.     public static function getHeaderIncludes()
  42.     {
  43.         return array(
  44.         );
  45.     }
  46.     /**
  47.      * Returns list of template files to include at the beginning of the body
  48.      * @return array
  49.      */
  50.     public static function getBodyIncludes()
  51.     {
  52.         return array(
  53.         );
  54.     }
  55.     /**
  56.      * Returns list of template files to include in footer
  57.      * @return array
  58.      */
  59.     public static function getFooterIncludes()
  60.     {
  61.         return array(
  62.         );
  63.     }
  64. }