my-cta.component.yml
Same filename in this branch
Same filename in other branches
File
-
core/
modules/ sdc/ tests/ modules/ sdc_test/ components/ my-cta/ my-cta.component.yml
View source
- $schema: https://git.drupalcode.org/project/sdc/-/raw/1.x/src/metadata.schema.json
- name: Call to Action
- description: Call to action link.
- props:
- type: object
- required:
- - text
- properties:
- text:
- type: string
- title: Title
- description: The title for the cta
- examples:
- - Press
- - Submit now
- href:
- type: string
- title: URL
- format: uri
- target:
- type: string
- title: Target
- enum:
- - ''
- - _blank
- attributes:
- type: Drupal\Core\Template\Attribute
- name: Attributes
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.