protected function prepareFieldValue(array &$field_value)
    {
        $this->setItemImages($field_value, 'field_value', $this->image);
        $this->setItemTranslation($field_value, 'field_value', $this->translation_entity);

        if (!empty($field_value['images'])) {
            foreach ($field_value['images'] as &$file) {
                $this->setItemTranslation($file, 'file', $this->translation_entity);
            }
        }
    }
protected function prepareFieldValue(array &$field_value)
    {
        $this->setItemImages($field_value, 'field_value', $this->image);
        $this->setItemTranslation($field_value, 'field_value', $this->translation_entity);

        if (!empty($field_value['images'])) {
            foreach ($field_value['images'] as &$file) {
                $this->setItemTranslation($file, 'file', $this->translation_entity);
            }
        }
    }
protected function prepareFieldValue ( array & $ field_value ) { $ this -> setItemImages ( $ field_value , 'field_value' , $ this -> image ) ; $ this -> setItemTranslation ( $ field_value , 'field_value' , $ this -> translation_entity ) ; if ( ! empty ( $ field_value [ 'images' ] ) ) { foreach ( $ field_value [ 'images' ] as & $ file ) { $ this -> setItemTranslation ( $ file , 'file' , $ this -> translation_entity ) ; } } }
Prepare an array of field value data
@param array $field_value
Prepare an array of field value data