Divante Class Locker bundle was created to block modifications on attributes in classes. 1
This module is compatible with Pimcore >= 5.2
pitpit/php-diff
- pimcore.class.preUpdate
- Blocking any changes in class' attributes defined in config.
The goal of this module is:
- blocking modifications in class' attributes defined in config.
composer require divanteltd/pimcore-class-locker
In Pimcore panel select Extensions and click Enable/Install.
Define which attributes cannot be changed in which class in app/config/pimcore/classlocker/config.php:
return [
'class_name1' => [
'attribute11',
'attribute12',
],
'class_name2' => [
'attribute21',
'attribute22',
],
];
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
GPL-3.0-or-later
This module respects all Pimcore 5 code quality rules and our own PHPCS and PHPMD rulesets.
We are a Software House from Europe, existing from 2008 and employing about 150 people. Our core competencies are built around Magento, Pimcore and bespoke software projects (we love Symfony3, Node.js, Angular, React, Vue.js). We specialize in sophisticated integration projects trying to connect hardcore IT with good product design and UX.
We work for Clients like INTERSPORT, ING, Odlo, Onderdelenwinkel and CDP, the company that produced The Witcher game. We develop two projects: Open Loyalty - an open source loyalty program and Vue.js Storefront.
We are part of the OEX Group which is listed on the Warsaw Stock Exchange. Our annual revenue has been growing at a minimum of about 30% year on year.
Visit our website Divante.co for more information.