artisan-1.x-dev/components/media/media.component.yml

components/media/media.component.yml
$schema: https://git.drupalcode.org/project/drupal/-/raw/HEAD/core/assets/schemas/v1/metadata.schema.json
name: Media
props:
  type: object
  properties:
    bundle:
      title: Bundle
      type: string
      examples:
        - image
    view_mode:
      title: View mode
      type: string
      examples:
        - default
    published:
      title: Published
      type: boolean
      examples:
        - true
    attributes:
      type: Drupal\Core\Template\Attribute
      name: Attributes
      title: Attributes
      examples:
        - class: [ 'example-attributes-class' ]
slots:
  content:
    title: Content
    description: 'The content slot is used to render the media content.'

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

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