Change record status: 
Project: 
Introduced in branch: 
11.2.x
Introduced in version: 
11.2.0
Description: 

views_entity_field_label() has been deprecated. Use \Drupal::service('entity_field.manager')->getFieldLabels() (introduced in version 11.2.x) instead.

Before

views_entity_field_label($entity_type, $field_name);

After

\Drupal::service('entity_field.manager')->getFieldLabels($entity_type, $field_name);

getFieldLabels() has been added to EntityFieldManagerInterface.

Impacts: 
Module developers
Themers
Site templates, recipes and distribution developers