PHP code example of basilicom / pimcore-advanced-custom-layout-bundle
1. Go to this page and download the library: Download basilicom/pimcore-advanced-custom-layout-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
basilicom / pimcore-advanced-custom-layout-bundle example snippets
advanced_custom_layout:
Pimcore\Model\DataObject\TestObject:
# layouts
custom_layout:
label: "My custom layout"
mode: !php/const Basilicom\AdvancedCustomLayoutBundle\Model\CustomLayoutConfig::MODE_EDIT
auto_apply_roles: []
auto_apply_workflow_states: []
fields:
title:
title: "Overwritten Titel"
editable: false
visible: false
layoutElements:
Data Quality:
title: "Overwritten Titel"
visible: false