src/Essesolutions/AttributeOptionBundle/EssesolutionsAttributeOptionBundle.php line 10

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Essesolutions\AttributeOptionBundle;
  4. use App\Essesolutions\AttributeOptionBundle\Service\Installer;
  5. use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
  6. class EssesolutionsAttributeOptionBundle extends AbstractPimcoreBundle
  7. {
  8.     /** @inheritDoc */
  9.     public function getJsPaths()
  10.     {
  11.         return [
  12.             '/bundles/essesolutionsattributeoption/js/pimcore/helpers.js',
  13.             '/bundles/essesolutionsattributeoption/js/pimcore/object/classes/data/manyToOneAttributeRelation.js',
  14.             '/bundles/essesolutionsattributeoption/js/pimcore/object/classes/data/manyToOneAttributeMetadato.js',
  15.             '/bundles/essesolutionsattributeoption/js/pimcore/object/tags/manyToOneAttributeRelation.js',
  16.             '/bundles/essesolutionsattributeoption/js/pimcore/object/tags/manyToOneAttributeMetadato.js',
  17.         ];
  18.     }
  19.     
  20.     /** @inheritDoc */
  21.     public function getCssPaths()
  22.     {
  23.         return [
  24.             '/bundles/essesolutionsattributeoption/css/icons.css',
  25.         ];
  26.     }
  27.     
  28.     /** @inheritDoc */
  29.     public function getInstaller()
  30.     {
  31.         return $this->container->get(Installer::class);
  32.     }
  33. }