| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function updateCMSFields(\SilverStripe\Forms\FieldList $fields) |
||
| 16 | { |
||
| 17 | $fields->addFieldToTab('Root.Analytics', |
||
| 18 | ToggleCompositeField::create( |
||
| 19 | 'MatomoToggle', |
||
| 20 | 'Matomo', |
||
| 21 | [ |
||
| 22 | TextField::create('MatomoTrackingURL', 'Tracking URL'), |
||
| 23 | TextField::create('MatomoSiteId', 'Site ID'), |
||
| 24 | ] |
||
| 49 |