vendor/sndsabin/objects-with-csv-bundle/ObjectsWithCsvBundle.php line 7

Open in your IDE?
  1. <?php
  2. namespace ObjectsWithCsvBundle;
  3. use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
  4. class ObjectsWithCsvBundle extends AbstractPimcoreBundle
  5. {
  6.     public function getJsPaths()
  7.     {
  8.         return [
  9.             '/bundles/objectswithcsv/js/pimcore/helpers.js',
  10.             '/bundles/objectswithcsv/js/pimcore/objects/classes/data/objectsWithCsv.js',
  11.             '/bundles/objectswithcsv/js/pimcore/objects/classes/tags/objectsWithCsv.js'
  12.         ];
  13.     }
  14.     /**
  15.      * @return string
  16.      */
  17.     public function getDescription()
  18.     {
  19.         return 'Facilitates user to upload csv file for bulk attaching to objects datatype using csv upload functionality.';
  20.     }
  21.     /**
  22.      * @return string
  23.      */
  24.     public function getVersion()
  25.     {
  26.         return '2.0.0';
  27.     }
  28.     /**
  29.      * Returns the bundle name that this bundle overrides.
  30.      *
  31.      * Despite its name, this method does not imply any parent/child relationship
  32.      * between the bundles, just a way to extend and override an existing
  33.      * bundle.
  34.      *
  35.      * @return string The Bundle name it overrides or null if no parent
  36.      *
  37.      * @deprecated This method is deprecated as of 3.4 and will be removed in 4.0.
  38.      */
  39.     public function getParent()
  40.     {
  41.         // TODO: Implement getParent() method.
  42.     }
  43. }