ContenthistoryHelper::mergeLabels
Method to create object to pass to the layout. Format is as follows: field is std object with name, value.
Value can be a std object with name, value pairs.
Signature
Parameters
-
$object
- The std object from the JSON string. Can be nested 1 level deep.
-
$formValues
- Standard class of label and value in an associative array.
Returns
- stdClass
- Object with translated labels where available