| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | public function getCMSFields() |
||
| 26 | { |
||
| 27 | $fields = parent::getCMSFields(); |
||
| 28 | $fields->addFieldToTab( |
||
| 29 | 'Root.Main', |
||
| 30 | new TextField('TranslatableProperty') |
||
| 31 | ); |
||
| 32 | $fields->addFieldToTab( |
||
| 33 | 'Root.Main', |
||
| 34 | new DropdownField('TranslatableObjectID') |
||
| 35 | ); |
||
| 36 | |||
| 37 | $this->applyTranslatableFieldsUpdate($fields, 'updateCMSFields'); |
||
| 38 | |||
| 39 | return $fields; |
||
| 40 | } |
||
| 41 | } |
||
| 42 |
This check marks private properties in classes that are never used. Those properties can be removed.