dsfr4drupal-1.x-dev/components/content/content.component.yml

components/content/content.component.yml
name: DSFR - Content (media)
description: Media content refers to your photo and video content. When integrated into a content page, it is recommended to follow the rules described below.
status: stable
group: DSFR
variants:
  sm:
    title: Small
    description: Component small size
  md:
    title: Medium
    description: Component medium size (default)
  lg:
    title: Large
    description: Component large size
props:
  properties:
    attributes:
      type: Drupal\Core\Template\Attribute
      title: Attributes
    caption:
      type: string
      title: Caption
    image:
      type: string
      title: Image
      description: Do not forget to add class "fr-responsive-img" to the image.
    ratio:
      type: string
      title: Ratio
      default: 16:9
      enum:
        - 1:1
        - 4:3
        - 16:9
    transcription:
      type: string
      title: Transcription
    transcription_title:
      type: string
      title: Transcription title
    video:
      type: string
      title: Video
libraryOverrides:
  dependencies:
    - dsfr4drupal/component.content

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc