Change record status: 
Project: 
Introduced in branch: 
11.3.x
Introduced in version: 
11.3.0
Description: 

\Drupal\image\Entity\ImageStyle::getReplacementID() is deprecated in Drupal 11.3.0 and will be removed in Drupal 12.0.0.

There appears to be no usage of the method so no direct replacement for this method is provided. If needed call getReplacementId() on the entity storage class.

Before:

$replacement_id = $image_style->getReplacementId();

After:

$storage = \Drupal::entityTypeManager()->getStorage($image_style->getEntityTypeId());
$replacement_id = $storage->getReplacementId($image_style->id());
Impacts: 
Module developers