Problem

When generating machine name suggestions from plugin IDs, the resulting names could contain invalid characters that are not allowed in Drupal machine names.

Root Cause

Plugin IDs were being used directly without sanitization when creating suggested machine names for node types.

Solution

Added sanitization logic to convert plugin IDs into valid Drupal machine names by replacing invalid characters and ensuring compliance with machine name requirements.

Impact

  • Node type creation works correctly with all plugin IDs
  • No more validation errors when creating node types from plugins with special characters

Comments

joevagyok created an issue. See original summary.

gxleano’s picture

I have contributed (not only by code, but discussion, presentation, testing or anything related).

d34dman’s picture

Status: Active » Fixed

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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.