node_type is removed in Drupal 10
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3333933. --> Reported by: [prudloff](https://www.drupal.org/user/3611858) Related to !5 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>See <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/drupal/issues/1932810" title="Status: Closed (fixed)">#1932810: Add entity bundles condition plugin for entities with bundles</a></span>, the <code>node_type</code> condition has been replaced by <code>entity_bundle:node</code>.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Create menu position rules based on node type.<br> Upgrade to Drupal 10 (with patch from <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/menu_position/-/work_items/3288566" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/menu_position/-/work_items/3288566</a></span>).<br> You get and exception:<br> </p><blockquote>The "node_type" plugin does not exist.</blockquote> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p><code>node_type</code> should be replaced in code and in existing config.</p> > Related issue: [Issue #3277980](https://www.drupal.org/node/3277980)
issue