<?php
namespace SaintElmos\BaseBundle;
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
use SaintElmos\BaseBundle\Interfaces\IncludeInterface;
use SaintElmos\BaseBundle\Services\Installer;
class SaintElmosBaseBundle extends AbstractPimcoreBundle implements IncludeInterface
{
use PackageVersionTrait;
/**
* @return string
*/
/* protected function getComposerPackageName()
{
return 'saint-elmos/base-bundle';
} */
public function getJsPaths()
{
return [
'/bundles/saintelmosbase/js/pimcore/startup.js',
'/bundles/saintelmosbase/js/pimcore/object/classes/data/localizedTable.js',
'/bundles/saintelmosbase/js/pimcore/object/tags/localizedTable.js'
];
}
public function getCssPaths()
{
return [
'/bundles/saintelmosbase/static/backend/css/localizedTable/admin.css'
];
}
public function getInstaller()
{
return $this->container->get(Installer::class);
// Test peter
}
/**
* Returns list of template files to include in header
* @return array
*/
public static function getHeaderIncludes()
{
return array(
);
}
/**
* Returns list of template files to include at the beginning of the body
* @return array
*/
public static function getBodyIncludes()
{
return array(
);
}
/**
* Returns list of template files to include in footer
* @return array
*/
public static function getFooterIncludes()
{
return array(
);
}
}