branding.component.yml
Same filename in other branches
File
-
core/
profiles/ demo_umami/ themes/ umami/ components/ branding/ branding.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: Branding
-
- # Status can be: "experimental", "stable", "deprecated", "obsolete".
- status: experimental
-
- # Use this key to organize components together.
- group: Navigation
-
- # 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:
- attributes:
- type: Drupal\Core\Template\Attribute
- title: Attributes
- description: Wrapper attributes.
- site_logo:
- type: string
- format: iri-reference
- url:
- type: string
- title: Branding url
- format: iri-reference
-
- slots:
- site_name:
- type: string
- site_slogan:
- type: string
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.