| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function updateLinkForm(&$form) |
||
| 13 | { |
||
| 14 | $field = new LanguageDropdownField('Language', _t('CMSMain.LANGUAGEDROPDOWNLABEL', 'Language')); |
||
| 15 | $field->setValue(Translatable::get_current_locale()); |
||
| 16 | $field->setForm($form); |
||
| 17 | $form->Fields()->insertBefore($field, 'internal'); |
||
| 18 | Requirements::javascript('translatable/javascript/HtmlEditorField.Translatable.js'); |
||
| 19 | } |
||
| 20 | } |
||
| 21 |