Remove Deprecated function file_save_data() from Salesforce Example modules for Drupal 10 compatibility

Created on 29 November 2023, 12 months ago
Updated 14 February 2024, 9 months ago

Problem/Motivation

The function file_save_data() has been deprecated in D9 and no longer present in D10. Function located at

salesforce/modules/salesforce_example/src/EventSubscriber/SalesforceExampleSubscriber.php (line 168)

Proposed resolution

Replace file_save_data() with the service \Drupal::service('file.repository')->writeData()

๐Ÿ“Œ Task
Status

Fixed

Version

5.0

Component

salesforce_example.module

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia sijumpk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024