invalid instance of "Drupal\Core\Template\Attribute" for prop type="Drupal\Core\Template\Attribute"

Created on 20 September 2024, 11 months ago

Problem/Motivation

Prop types defined with type="Drupal\Core\Template\Attribute" throws an Exception:
"is not a valid instance of "Drupal\Core\Template\Attribute""

Steps to reproduce

Add a property like

  properties:
    attributes_sdc:
      title: "Attributes when type is a PHP namespace"
      type: 'Drupal\Core\Template\Attribute'

And try to save them

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany Christian.wiedemann

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