By acbramley on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.3.x
Introduced in version:
11.3.0
Issue links:
Description:
node_get_type_label is deprecated.
If on 11.3 or above
Use $node->getBundleEntity()->label() instead.
If on 11.2 or below
Use $node->get('type')->entity->label() instead.
Impacts:
Module developers