Change record status: 
Project: 
Introduced in branch: 
2.x
Introduced in version: 
2.1.0
Description: 

The Feed entity hash functions are deprecated and will be removed before version 3.0.0. They are replaced by functions in the aggregator.items.importer service.

  • Feed::setHash() is replaced by \Drupal::service('aggregator.items.importer')->setHash($feed);
  • Feed:getHash() is replaced by \Drupal::service('aggregator.items.importer')->setHash($feed, $hash);

Additionally, the hash entity property has been removed and will be stored with the keyvalue.aggregator service as state.

Impacts: 
Module developers