Installation
Minimum Requirements
- Pimcore >= 6.7
Installation Process
For Pimcore >= 10.5
To install Pimcore Enterprise Asset Metadata for Pimcore 10.5 or higher, follow the three steps below:
- Install the required dependencies:
composer require pimcore/asset-metadata-class-definitions
- Make sure the bundle is enabled in the
config/bundles.php
file. The following lines should be added:
use Pimcore\AssetMetadataClassDefinitionsBundle\PimcoreAssetMetadataClassDefinitionsBundle;
// ...
return [
// ...
PimcoreAssetMetadataClassDefinitionsBundle::class => ['all' => true],
// ...
];
- Install the bundle:
bin/console pimcore:bundle:install PimcoreAssetMetadataClassDefinitionsBundle
For Older Versions
To install the Enterprise Asset Metadata bundle for older versions of Pimcore, please run the following commands instead:
composer require pimcore/asset-metadata-class-definitions
bin/console pimcore:bundle:enable PimcoreAssetMetadataClassDefinitionsBundle
bin/console pimcore:bundle:install PimcoreAssetMetadataClassDefinitionsBundle
Required Backend User Permission
To define Asset metadata class definitions, user needs to meet one of following criteria:
- be an
admin
or - have
classes
permission