- Issue created by @nx2611
I created a yml config that requires content_attributes from twig. I added it as part of my component.yml. As I understand that any properties will be shown in the UI so how do I hide this?
Here is the an example config I use:
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json
name: Card Icon
status: stable
props:
type: object
properties:
content_attributes:
type: string
title: 'Content attributes'
description: 'Same as attributes, except applied to the main content tag that appears in the template.'
title:
type: string
title: 'Title'
description: 'Main title'
body:
type: string
title: 'Bodu'
description: 'Main content text'
more_content:
type: string
title: More content
description: 'Additional content'
required:
- content_attributes
Active
0.0
Config management