Download the PHP package teamneusta/pimcore-areabrick-config-bundle without Composer
On this page you can find all versions of the php package teamneusta/pimcore-areabrick-config-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download teamneusta/pimcore-areabrick-config-bundle
More information about teamneusta/pimcore-areabrick-config-bundle
Files in teamneusta/pimcore-areabrick-config-bundle
Package pimcore-areabrick-config-bundle
Short Description Object-oriented editable dialog box configuration building for areabricks
License GPL-3.0-or-later
Informations about the package pimcore-areabrick-config-bundle
Areabrick Config Bundle
Object-oriented editable dialog box configuration building for areabricks.
Installation
-
Require the bundle
-
Enable the bundle
Add the Bundle to your
config/bundles.php
:
Usage
You need this bundle if you want to stuff your areabricks easily with an editable config dialog.
A simple example should show how to do it.
Areabrick Class
Your areabrick class must implement Pimcore's Pimcore\Extension\Document\Areabrick\EditableDialogBoxInterface
interface
and additionally use the Neusta\Pimcore\AreabrickConfigBundle\HasDialogBox
trait.
Then it's up to you to implement the buildDialogBox()
method as you wish.
As you can (nearly) see, we add a 3-tabbed-config dialog to our brick which can be opened by clicking on the pencil of your areabrick:
The config dialog will be opened:
And after editing the values, they are accessible in the Twig template:
Configuration
Currently, there is no configuration available.
Contribution
Feel free to open issues for any bug, feature request, or other ideas.
Please remember to create an issue before creating large pull requests.
Local Development
To develop on local machine, the vendor dependencies are required.
We use composer scripts for our main quality tools. They can be executed via the bin/composer
file as well.
All versions of pimcore-areabrick-config-bundle with dependencies
doctrine/dbal Version ^2.13 || ^3.9
pimcore/pimcore Version ^10.6 || ^11.0
symfony/config Version ^5.4 || ^6.4
symfony/dependency-injection Version ^5.4 || ^6.4
symfony/http-foundation Version ^5.4 || ^6.4
symfony/http-kernel Version ^5.4 || ^6.4
symfony/routing Version ^5.4 || ^6.4
symfony/translation Version ^5.4 || ^6.4
teamneusta/converter-bundle Version ^1.6
twig/twig Version ^3.8