Skip to content

Commit be96e87

Browse files
author
Mathieu De Keyzer
committed
formregistry is now member of the DataFieldType
1 parent 9f28495 commit be96e87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Form/DataField/DataLinkFieldType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public function getBlockPrefix() {
202202
public function getChoiceList(FieldType $fieldType, array $choices){
203203

204204
/**@var ObjectPickerType $objectPickerType*/
205-
$objectPickerType = $this->registry->getType(ObjectPickerType::class)->getInnerType();
205+
$objectPickerType = $this->formRegistry->getType(ObjectPickerType::class)->getInnerType();
206206

207207

208208
/**@var ObjectChoiceLoader $loader */

0 commit comments

Comments
 (0)