[Drupal 10] The "node_type" plugin does not exist

Created on 1 November 2023, about 1 year ago
Updated 21 March 2024, 8 months ago

Problem/Motivation

The "node_type" plugin is removed from the Drupal core: See https://www.drupal.org/node/2983299 #1932810: Add entity bundles condition plugin for entities with bundles and after upgrading from the old version of Drupal to the D10 the site starts throwing an error. I believe this issue occurs after upgrading from the old Drupal versions.

Proposed resolution

Add 2 hook_post_update_NAME() function to update all pages (access_conditions) and variants (selection_criteria), similar to what is done in the Pathauto module: https://git.drupalcode.org/project/pathauto/-/blob/8.x-1.12/pathauto.ins...

🐛 Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

🇺🇦Ukraine zen1995

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024