| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function getFieldConfiguration() |
||
| 19 | { |
||
| 20 | $customSettings = unserialize($this->CustomSettings); |
||
| 21 | $content = (isset($customSettings['Content'])) ? $customSettings['Content'] : ''; |
||
| 22 | $textAreaField = new TextareaField( |
||
| 23 | $this->getSettingName('Content'), 'HTML', $content |
||
| 24 | ); |
||
| 25 | $textAreaField->setRows(4); |
||
| 26 | $textAreaField->setColumns(20); |
||
| 27 | |||
| 28 | return [ |
||
| 29 | $textAreaField, |
||
| 30 | ]; |
||
| 31 | } |
||
| 32 | |||
| 45 |