| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function updateCMSFields(FieldList $fields) |
||
| 15 | { |
||
| 16 | parent::updateCMSFields($fields); |
||
| 17 | |||
| 18 | $apiField = (new TextField('ElementalEmbedlyApiKey', 'Embedly API Key')) |
||
| 19 | ->setDescription('See https://docs.embed.ly/?path=docs/apis'); |
||
| 20 | $fields->addFieldToTab('Root.Main', $apiField); |
||
| 21 | |||
| 22 | return $fields; |
||
| 23 | } |
||
| 25 |