The "node_type" plugin does not exist

Created on 17 August 2023, over 1 year ago
Updated 19 December 2023, 11 months ago

Problem/Motivation

When updating a site from D9 to D10, we encountered an issue where if a link has a visibility condition to a node_type, this throws:
The "node_type" plugin does not exist.

The plugin node_type was deprecated in Drupal 9 and is removed in Drupal 10.

Steps to reproduce

Have a Drupal 9 site with a visibility condition tied to a node_type.
Update this site to Drupal 10.

Proposed resolution

Write an update script to update existing menu_link_content to use the new entity_bundle:node

Remaining tasks

Create and review patch.

User interface changes

-

API changes

-

Data model changes

-

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇧🇪Belgium tim-diels Belgium 🇧🇪

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024