Download the PHP package heimrichhannot/contao-entity-approval-bundle without Composer
On this page you can find all versions of the php package heimrichhannot/contao-entity-approval-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download heimrichhannot/contao-entity-approval-bundle
More information about heimrichhannot/contao-entity-approval-bundle
Files in heimrichhannot/contao-entity-approval-bundle
Package contao-entity-approval-bundle
Short Description This bundle offers customizable approval process for all entities for the Contao CMS.
License LGPL-3.0-or-later
Informations about the package contao-entity-approval-bundle
contao-entity-approval-bundle
Requirements
- PHP: ^7.4
- Contao: ^4.9
Installation
composer require heimrichhannot/contao-entity-approval-bundle
Features
- all entities can be configured for approval
- approval entities can only be set visible if approved
- admin can set visible without approval
- sends emails on entity status change or on transition
- unlimited approval steps
Workflow
for automatic creation of workflow diagram, just use the following command:
vendor/bin/contao-console workflow:dump entity_approval | dot -Tpng -o vendor/heimrichhannot/contao-entity-approval-bundle/docs/img/approval-process.jpg
External Components
Symfony Workflow component: https://symfony.com/doc/current/components/workflow.html
Symfony String component: https://symfony.com/doc/current/components/string.html
Configuration
All entities can be configured for approval workflow by setting it up in the config.yml. Example below show a config for tl_submission entity(see option comments for more information)
example config.yml
Contao limitations
Some Entities will show approval fields after these fields are set visible in the entity archive settings (eg. tl_submission)
Usergroup permissions need to be set for every entity and approval field, to be displayed in the backend.
Events
PHP events
Events are fired as symfony events.
Event name | Description |
---|---|
BeforeEntityGetModelEvent | Used to modify approval entity before display in Backend |
All versions of contao-entity-approval-bundle with dependencies
contao/core-bundle Version ^4.9
heimrichhannot/contao-utils-bundle Version ^2.204
symfony/config Version ^4.4
symfony/workflow Version ^4.4
symfony/string Version ^5.2
terminal42/notification_center Version ^1.3