Source of file GridFieldConfig_ModuleEditor.php
Size: 0,990 Bytes - Last Modified: 2021-12-23T10:53:22+00:00
/var/www/docs.ssmods.com/process/src/code/GridFieldConfig_ModuleEditor.php
1234567891011121314151617181920212223242526272829 | <?php /** * Class GridFieldConfig_ModuleEditor. */ class GridFieldConfig_ModuleEditor extends GridFieldConfig { public function __construct() { parent::__construct(); $this->addComponent(new GridFieldButtonRow('before')); $this->addComponent(new GridFieldAddNewButton('buttons-before-left')); $this->addComponent(new GridFieldToolbarHeader()); $this->addComponent($sort = new GridFieldSortableHeader()); $this->addComponent($filter = new GridFieldFilterHeader()); $this->addComponent(new GridFieldModuleColumns()); $this->addComponent(new GridFieldDataColumns()); $this->addComponent(new GridFieldEditButton()); $this->addComponent(new GridFieldDeleteAction()); $this->addComponent(new PageModuleVersionedDataObjectDetailsForm()); $sort->setThrowExceptionOnBadDataType(false); $filter->setThrowExceptionOnBadDataType(false); $this->extend('updateConfig'); } } |