hiberus_cms_front_theme-1.0.1/recipe.yml

recipe.yml
name: Hiberus CMS Front Theme
description: Sets up front theme functionality
type: 'Hiberus CMS'

install:
  - bg_image_formatter
  - block_content
  - ckeditor5
  - entity_class_formatter
  - focal_point
  - link_attributes
  - media_library_edit
  - menu_link_attributes
  - media_pdf_thumbnail
  - node
  - layout_builder
  - layout_builder_styles
  - path

config:
  strict:
    - field.storage.node.body
    - field.storage.block_content.body
    - field.storage.node.field_description
    - field.storage.node.layout_builder__layout
  import:
    focal_point: '*'
    menu_link_attributes: '*'
    node:
      - core.entity_view_mode.node.full
      - core.entity_view_mode.node.teaser
      - field.storage.node.body
      - system.action.node_delete_action
      - system.action.node_make_sticky_action
      - system.action.node_make_unsticky_action
      - system.action.node_promote_action
      - system.action.node_publish_action
      - system.action.node_save_action
      - system.action.node_unpromote_action
      - system.action.node_unpublish_action
    block_content:
      - field.storage.block_content.body
      - core.entity_view_mode.block_content.full
      - views.view.block_content

  actions:
    core.entity_form_display.media.image.*:
      setComponent:
        name: field_media_image
        options:
          type: image_focal_point
          weight: 1
          region: content
          settings:
            progress_indicator: throbber
            preview_image_style: media_library
            preview_link: true
            offsets: '50,50'
      hideComponents:
        - uid
        - langcode
        - path
        - created
    core.entity_view_display.node.landing.default:
      hideComponent: langcode
    core.entity_view_display.node.landing.full:
      hideComponent: langcode
      enableLayoutBuilder: { }
      allowLayoutOverrides: true

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

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