diff --git a/src/Entity/ModelType.php b/src/Entity/ModelType.php index ea89bc7..4a223bc 100644 --- a/src/Entity/ModelType.php +++ b/src/Entity/ModelType.php @@ -421,13 +421,14 @@ class ModelType $items = []; foreach ($fields as $cf) { $items[] = [ - 'id' => $cf->getId(), - 'name' => $cf->getName(), - 'type' => $cf->getType(), - 'required' => $cf->isRequired(), - 'options' => $cf->getOptions(), - 'defaultValue' => $cf->getDefaultValue(), - 'orderIndex' => $cf->getOrderIndex(), + 'id' => $cf->getId(), + 'name' => $cf->getName(), + 'type' => $cf->getType(), + 'required' => $cf->isRequired(), + 'options' => $cf->getOptions(), + 'defaultValue' => $cf->getDefaultValue(), + 'orderIndex' => $cf->getOrderIndex(), + 'machineContextOnly' => $cf->isMachineContextOnly(), ]; }