vendor/aufwind/cookiebot-bundle/src/AufwindCookiebotBundle.php line 13

Open in your IDE?
  1. <?php
  2. declare(strict_types 1);
  3. namespace Aufwind\CookiebotBundle;
  4. use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
  5. use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
  6. /**
  7.  * Hauptdatei des Cookiebot Bundles.
  8.  */
  9. class AufwindCookiebotBundle extends AbstractPimcoreBundle
  10. {
  11.     use PackageVersionTrait;
  12.     /**
  13.      * {@inheritdoc}
  14.      */
  15.     protected function getComposerPackageName(): string
  16.     {
  17.         return 'aufwind/cookiebot-bundle';
  18.     }
  19.     /**
  20.      * Gibt die JAvascript Dateien für das Backend zurück.
  21.      *
  22.      * @return array
  23.      */
  24.     public function getJsPaths(): array
  25.     {
  26.         return [
  27.             '/bundles/aufwindcookiebot/js/pimcore/startup.js',
  28.         ];
  29.     }
  30.     /**
  31.      * Gibt die Beschreibung zurück.
  32.      *
  33.      * @return string
  34.      */
  35.     public function getDescription(): string
  36.     {
  37.         return 'Bietet die Möglichkeit den Cookiebot zu aktivieren';
  38.     }
  39. }