vendor/activepublishing/bundle-active-paginate/ActivePaginateBundle.php line 21

Open in your IDE?
  1. <?php
  2. /**
  3.  * Active Publishing - All right reserved
  4.  *   Full copyright and license information is available in
  5.  *   LICENSE.md which is distributed with this source code.
  6.  *
  7.  * @copyright Copyright (c) Active Publishing (https://activepublishing.fr)
  8.  * @license Creative Common CC BY ND 4.0
  9.  * @author Active Publishing <contact@active-publishing.fr>
  10.  */
  11. namespace ActivePaginateBundle;
  12. use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
  13. use ActivePaginateBundle\Service\Installer;
  14. /**
  15.  * Class ActivePaginateBundle
  16.  * @package ActivePaginateBundle
  17.  */
  18. class ActivePaginateBundle extends AbstractPimcoreBundle
  19. {
  20.     const COMPOSER_PACKAGE_NAME  "activepublishing/bundle-active-paginate";
  21.     const BUNDLE_ID              "ActivePaginateBundle";
  22.     const BUNDLE_NAME            "ActivePaginate";
  23.     const BUNDLE_DESCRIPTION     "Active Paginate by Active Publishing©";
  24.     const BUNDLE_VERSION         "2.6.7";
  25.     const BUNDLE_REVISION        100;
  26.     const PIMCORE_MIN_VERSION    "10.0.0";
  27.     /**
  28.      * @return string
  29.      */
  30.     protected function getComposerPackageName(): string
  31.     {
  32.         return self::COMPOSER_PACKAGE_NAME;
  33.     }
  34.     /**
  35.      * @return string
  36.      */
  37.     public function getNiceName()
  38.     {
  39.         return self::BUNDLE_NAME;
  40.     }
  41.     /**
  42.      * @return string
  43.      */
  44.     public function getDescription()
  45.     {
  46.         return self::BUNDLE_DESCRIPTION;
  47.     }
  48.     /**
  49.      * @return string
  50.      */
  51.     public function getVersion()
  52.     {
  53.         return self::BUNDLE_VERSION;
  54.     }
  55.     /**
  56.      * {@inheritdoc}
  57.      */
  58.     public function getInstaller()
  59.     {
  60.         return $this->container->get(Installer::class);
  61.     }
  62.     /**
  63.      * {@inheritdoc}
  64.      */
  65.     public function getAdminIframePath()
  66.     {
  67.     }
  68.     /**
  69.      * @return array|\Pimcore\Routing\RouteReferenceInterface[]|string[]
  70.      */
  71.     public function getJsPaths()
  72.     {
  73.         return [
  74.             '/bundles/activepaginate/js/pimcore/startup.js'
  75.         ];
  76.     }
  77.     /**
  78.      * @inheritDoc
  79.      */
  80.     public function getCssPaths()
  81.     {
  82.         return [];
  83.     }
  84.     /**
  85.      * @inheritDoc
  86.      */
  87.     public function getEditmodeJsPaths()
  88.     {
  89.         return [];
  90.     }
  91.     /**
  92.      * @inheritDoc
  93.      */
  94.     public function getEditmodeCssPaths()
  95.     {
  96.         return [];
  97.     }
  98. }