| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function __construct() |
||
| 19 | { |
||
| 20 | parent::__construct(); |
||
| 21 | |||
| 22 | $this->addComponent(new GridFieldButtonRow('before')); |
||
| 23 | $this->addComponent(new GridFieldToolbarHeader()); |
||
| 24 | $this->addComponent($filter = new GridFieldFilterHeader()); |
||
| 25 | $this->addComponent(new GridFieldDataColumns()); |
||
| 26 | $this->addComponent(new GridFieldEditButton()); |
||
| 27 | $this->addComponent(new GridFieldDeleteAction(false)); |
||
| 28 | $this->addComponent(new GridFieldDetailForm()); |
||
| 29 | |||
| 30 | $filter->setThrowExceptionOnBadDataType(false); |
||
| 31 | |||
| 32 | $this->removeComponentsByType(VersionedGridFieldState::class); |
||
| 33 | $this->addComponent(new GridFieldOrderableRows('Sort')); |
||
| 34 | |||
| 35 | $this->extend('updateConfig'); |
||
| 36 | } |
||
| 38 |