message.component.yml
Same filename and directory in other branches
File
-
core/
modules/ navigation/ components/ message/ message.component.yml
View source
- # This is so your IDE knows about the syntax for fixes and autocomplete.
- $schema: https://git.drupalcode.org/project/drupal/-/raw/HEAD/core/assets/schemas/v1/metadata.schema.json
-
- # The human readable name.
- name: Message
-
- # Status can be: "experimental", "stable", "deprecated", "obsolete".
- status: experimental
-
- # Schema for the props. We support www.json-schema.org. Learn more about the
- # syntax there.
- props:
- # Props are always an object with keys. Each key is a variable in your
- # component template.
- type: object
-
- properties:
- type:
- type: string
- title: Message Type
- default: status
- enum:
- - error
- - status
- - warning
- url:
- type: string
- title: Message URL
- format: iri-reference
- content:
- type: string
- title: Message Content
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.