Change record status: 
Project: 
Introduced in branch: 
3.x
Introduced in version: 
3.0.30
Description: 

trash_entity_is_deleted() and trash_restore_entity() have been deprecated, and replaced by \Drupal\trash\Trash::entityIsDeleted() and \Drupal\trash\Trash::restoreEntity().

Impacts: 
Site builders, administrators, editors
Module developers