<?php
namespace Elements\Bundle\JsonLdReloadedBundle;
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
class ElementsJsonLdReloadedBundle extends AbstractPimcoreBundle
{
public function getInstaller()
{
return $this->container->get(Installer::class);
}
public function getVersion()
{
$version = '1.0';
if (class_exists('\\Composer\\InstalledVersions')) {
$version = \Composer\InstalledVersions::getVersion('elements/json-ld-reloaded-bundle');
} else {
$version = \PackageVersions\Versions::getVersion('elements/json-ld-reloaded-bundle');
}
return $version;
}
public function getDescription()
{
return 'Provides a Backend Tool to create JsonLd Templates For Dokuments, Assets and DataObjects';
}
public function getJsPaths()
{
return [
'/bundles/elementsjsonldreloaded/js/pimcore/startup.js'
];
}
public function getCssPaths()
{
return [
'/bundles/elementsjsonldreloaded/pimcore.css'
];
}
}