<?php/** * Active Publishing - All right reserved * Full copyright and license information is available in * LICENSE.md which is distributed with this source code. * * @copyright Copyright (c) Active Publishing (https://activepublishing.fr) * @license Creative Common CC BY ND 4.0 * @author Active Publishing <contact@active-publishing.fr> */namespace ActiveWireframeBundle;use Pimcore\Extension\Bundle\AbstractPimcoreBundle;use ActiveWireframeBundle\Service\Installer;/** * Class ActiveWireframeBundle * @package ActiveWireframeBundle */class ActiveWireframeBundle extends AbstractPimcoreBundle{ const COMPOSER_PACKAGE_NAME = "activepublishing/bundle-active-wireframe"; const BUNDLE_ID = "ActiveWireframeBundle"; const BUNDLE_NAME = "ActiveWireframe"; const BUNDLE_LICENSE_ID = "11"; const BUNDLE_DESCRIPTION = "Active Wireframe by Active Publishing©"; const BUNDLE_VERSION = "4.2.1"; const BUNDLE_REVISION = 103; const PIMCORE_MIN_VERSION = "10.0.0"; /** * @return string */ protected function getComposerPackageName(): string { return self::COMPOSER_PACKAGE_NAME; } /** * @return string */ public function getNiceName(): string { return self::BUNDLE_NAME; } /** * @return string */ public function getDescription(): string { return self::BUNDLE_DESCRIPTION; } /** * @return string */ public function getVersion(): string { return self::BUNDLE_VERSION; } /** * {@inheritdoc} */ public function getInstaller(): object|null { return $this->container->get(Installer::class); } /** * {@inheritdoc} */ public function getAdminIframePath() {// return '/admin/activewireframe/setup/setup'; } /** * @return array */ public function getJsPaths(): array { return [ '/bundles/activewireframe/js/pimcore/document/printcontainer.js', '/bundles/activewireframe/js/pimcore/startup.js' ]; } /** * @inheritDoc */ public function getCssPaths(): array { return []; } /** * @inheritDoc */ public function getEditmodeJsPaths(): array { return [ '/bundles/activewireframe/js/pimcore/document/editables/renderlet.js', '/bundles/activewireframe/js/pimcore/document/editables/areablock.js' ]; } /** * @inheritDoc */ public function getEditmodeCssPaths(): array { return []; }}