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

node_type_get_names is deprecated, a new method on the entity_type.bundle.info service has been added to provide the same functionality for any entity type.

Before:
$type_names = node_type_get_names();

After:
$type_names = \Drupal::service('entity_type.bundle.info')->getBundleLabels('node');

Impacts: 
Module developers