Commit 92163525 authored by Julian Pustkuchen's avatar Julian Pustkuchen
Browse files

Issue #3267196 by Anybody: Add restricted access layout paragraph submodule

parent e4280369
Loading
Loading
Loading
Loading
+51 −0
Original line number Diff line number Diff line
langcode: en
status: true
dependencies:
  config:
    - field.field.paragraph.layout_restricted_access.field_paragraph_access_by_role
    - field.field.paragraph.layout_restricted_access.field_paragraph_settings
    - field.field.paragraph.layout_restricted_access.field_paragraphs_paragraphs
    - paragraphs.paragraphs_type.layout_restricted_access
  module:
    - drowl_paragraphs
    - entity_access_by_role_field
    - layout_paragraphs
id: paragraph.layout_restricted_access.default
targetEntityType: paragraph
bundle: layout_restricted_access
mode: default
content:
  field_paragraph_access_by_role:
    type: default_entity_access_by_role_field_widget
    weight: 2
    region: content
    settings:
      role_id:
        - administrator
      access: allowed
    third_party_settings: {  }
  field_paragraph_settings:
    type: drowl_paragraphs_settings_default
    weight: 1
    region: content
    settings:
      open: false
    third_party_settings: {  }
  field_paragraphs_paragraphs:
    type: layout_paragraphs
    weight: 0
    region: content
    settings:
      preview_view_mode: preview
      nesting_depth: 0
      require_layouts: 0
    third_party_settings: {  }
  status:
    type: boolean_checkbox
    weight: 3
    region: content
    settings:
      display_label: true
    third_party_settings: {  }
hidden:
  created: true
+39 −0
Original line number Diff line number Diff line
langcode: en
status: true
dependencies:
  config:
    - field.field.paragraph.layout_restricted_access.field_paragraph_access_by_role
    - field.field.paragraph.layout_restricted_access.field_paragraph_settings
    - field.field.paragraph.layout_restricted_access.field_paragraphs_paragraphs
    - paragraphs.paragraphs_type.layout_restricted_access
  module:
    - entity_reference_revisions
    - fences
id: paragraph.layout_restricted_access.default
targetEntityType: paragraph
bundle: layout_restricted_access
mode: default
content:
  field_paragraphs_paragraphs:
    type: entity_reference_revisions_entity_view
    label: hidden
    settings:
      view_mode: default
      link: ''
    third_party_settings:
      fences:
        fences_field_tag: none
        fences_field_classes: ''
        fences_field_items_wrapper_tag: none
        fences_field_items_wrapper_classes: ''
        fences_field_item_tag: none
        fences_field_item_classes: ''
        fences_label_tag: none
        fences_label_classes: ''
    weight: 0
    region: content
hidden:
  field_paragraph_access_by_role: true
  field_paragraph_settings: true
  paragraph_preview_placeholder: true
  search_api_excerpt: true
+45 −0
Original line number Diff line number Diff line
langcode: en
status: true
dependencies:
  config:
    - core.entity_view_mode.paragraph.preview
    - field.field.paragraph.layout_restricted_access.field_paragraph_access_by_role
    - field.field.paragraph.layout_restricted_access.field_paragraph_settings
    - field.field.paragraph.layout_restricted_access.field_paragraphs_paragraphs
    - paragraphs.paragraphs_type.layout_restricted_access
  module:
    - entity_reference_revisions
    - fences
    - layout_builder
third_party_settings:
  layout_builder:
    enabled: false
    allow_custom: false
id: paragraph.layout_restricted_access.preview
targetEntityType: paragraph
bundle: layout_restricted_access
mode: preview
content:
  field_paragraphs_paragraphs:
    type: entity_reference_revisions_entity_view
    label: hidden
    settings:
      view_mode: preview
      link: ''
    third_party_settings:
      fences:
        fences_field_tag: none
        fences_field_classes: ''
        fences_field_items_wrapper_tag: none
        fences_field_items_wrapper_classes: ''
        fences_field_item_tag: none
        fences_field_item_classes: ''
        fences_label_tag: none
        fences_label_classes: ''
    weight: 0
    region: content
hidden:
  field_paragraph_access_by_role: true
  field_paragraph_settings: true
  paragraph_preview_placeholder: true
  search_api_excerpt: true
+29 −0
Original line number Diff line number Diff line
langcode: en
status: true
dependencies:
  config:
    - field.storage.paragraph.field_paragraph_access_by_role
    - paragraphs.paragraphs_type.layout_restricted_access
  module:
    - entity_access_by_role_field
id: paragraph.layout_restricted_access.field_paragraph_access_by_role
field_name: field_paragraph_access_by_role
entity_type: paragraph
bundle: layout_restricted_access
label: Rollenzugriff
description: "Legen Sie fest, welche Rollen Zugriff auf diesen Layout und dessen Inhalt erhalten.<br>\r\n<ul>\r\n<li>Soll ein Layout für alle Besucher (auch ohne Login) verfügbar sein, wählen Sie \"Gast\" und \"Authentifizierter Benutzer\".</li>\r\n<li>Soll ein Layout nur für Benutzer mit Login verfügbar sein, wählen Sie nur \"Authentifizierter Benutzer\".</li>\r\n<li>Soll ein Layout nur für bestimmte Rollen (mit Login) verfügbar sein, wählen Sie nur die entsprechenden Rollen.</li>\r\n</ul>\r\nWird keine Rolle gewählt, hat niemand, außer dem Ersteller, Zugriff auf den Layout."
required: true
translatable: false
default_value:
  -
    role_id: authenticated
    access: allowed
default_value_callback: ''
settings:
  operations:
    view: view
    view_unpublished: '0'
    edit: '0'
    delete: '0'
  empty_roles_access_fallback: neutral
field_type: entity_access_by_role_field
+74 −0
Original line number Diff line number Diff line
langcode: en
status: true
dependencies:
  config:
    - field.storage.paragraph.field_paragraph_settings
    - paragraphs.paragraphs_type.layout_restricted_access
  module:
    - drowl_paragraphs
id: paragraph.layout_restricted_access.field_paragraph_settings
field_name: field_paragraph_settings
entity_type: paragraph
bundle: layout_restricted_access
label: Einstellungen
description: ''
required: false
translatable: false
default_value:
  -
    default_value_input__field_paragraph_settings__0__layout__active_tab: edit-default-value-input-field-paragraph-settings-0-layout-lg
    default_value_input__field_paragraph_settings__0__style__active_tab: edit-default-value-input-field-paragraph-settings-0-style-style-boxstyle
    layout_sm_columns: 0
    layout_sm_indent: 0
    layout_sm_reverse_indent: null
    layout_sm_collapse: 0
    layout_md_columns: 0
    layout_md_indent: 0
    layout_md_reverse_indent: null
    layout_md_collapse: 0
    layout_lg_columns: 0
    layout_lg_indent: 0
    layout_lg_reverse_indent: null
    layout_lg_collapse: 0
    layout_margin_top: ''
    layout_margin_right: ''
    layout_margin_bottom: ''
    layout_margin_left: ''
    layout_padding_top: lg
    layout_padding_right: ''
    layout_padding_bottom: lg
    layout_padding_left: ''
    style_animation_1_events: ''
    style_animation_1_animation: ''
    style_animation_1_offset: 0
    style_animation_1_delay: '0'
    style_animation_1_transition_duration: '0'
    style_animation_2_events: ''
    style_animation_2_animation: ''
    style_animation_2_offset: 0
    style_animation_2_delay: '0'
    style_animation_2_transition_duration: '0'
    style_animation_3_events: ''
    style_animation_3_animation: ''
    style_animation_3_offset: 0
    style_animation_3_delay: '0'
    style_animation_3_transition_duration: '0'
    style_animation_4_events: ''
    style_animation_4_animation: ''
    style_animation_4_offset: 0
    style_animation_4_delay: '0'
    style_animation_4_transition_duration: '0'
    layout_min_height: 0
    layout_section_width: viewport-width-cp
    layout_align_children_vertical: ''
    layout_align_children_horizontal: ''
    layout_reverse_order: 0
    style_boxstyle: ''
    style_cutline: ''
    style_textalign: ''
    style_textstyle: ''
    style_textcolumns: ''
    classes_additional: ''
default_value_callback: ''
settings: {  }
field_type: drowl_paragraphs_settings
Loading