Problem/Motivation

NodeCount::settingsForm() uses node_type_get_names() which is deprecated in Drupal 11.3.0 and removed in Drupal 13.0.0.

Steps to reproduce

Proposed resolution

Inject EntityTypeBundleInfoInterface and use getBundleLabels('node') instead.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kim.pepper created an issue. See original summary.

  • kim.pepper committed 803d7ee0 on 2.x
    task: #3591450 Replace deprecated node_type_get_names() in NodeCount...
kim.pepper’s picture

Status: Active » Fixed

Committed to 2.x

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.