|
@@ -652,6 +652,9 @@ discard block |
|
|
block discarded – undo |
|
652
|
652
|
return $fieldDefinitionUpdateStruct; |
|
653
|
653
|
} |
|
654
|
654
|
|
|
|
655
|
+ /** |
|
|
656
|
+ * @param string $contentTypeIdentifier |
|
|
657
|
+ */ |
|
655
|
658
|
protected function getFieldSettings($value, $fieldTypeIdentifier, $contentTypeIdentifier) |
|
656
|
659
|
{ |
|
657
|
660
|
// 1st update any references in the value array |
|
@@ -704,7 +707,7 @@ discard block |
|
|
block discarded – undo |
|
704
|
707
|
* |
|
705
|
708
|
* @param string|array $newValue if passed a string, we will use $lang as its language. If passed an array, it will be used as is - expected format [ "eng-GB": "Name", "fre-FR": "Nom", ... ] |
|
706
|
709
|
* @param string $lang ex: eng-GB. Not used when $newValue is an array |
|
707
|
|
- * @param array $currentValue current set of values in all known languages. Will be merged with $newValue, $newValue taking precedence |
|
|
710
|
+ * @param string[] $currentValue current set of values in all known languages. Will be merged with $newValue, $newValue taking precedence |
|
708
|
711
|
* @return array in the format [ "eng-GB": "Name", "fre-FR": "Nom", ... ] |
|
709
|
712
|
*/ |
|
710
|
713
|
protected function getMultilingualValue($newValue, $lang, $currentValue = array()) |
Please login to merge, or discard this patch.