By nicxvan on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.2.x
Introduced in version:
11.2.0
Issue links:
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