Skip to content
Snippets Groups Projects
Verified Commit 28ada580 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3312072 by fjgarlin, penyaskito, markconroy, lauriii, smustgrave,...

Issue #3312072 by fjgarlin, penyaskito, markconroy, lauriii, smustgrave, ckrina, Spokje: Display category-related recipes when seeing a recipe full page

(cherry picked from commit dbb54acf)
parent 664eb630
Branches
Tags
14 merge requests!11628Update file MediaLibraryWidget.php,!7564Revert "Issue #3364773 by roshnichordiya, Chris Matthews, thakurnishant_06,...,!5752Issue #3275828 by joachim, quietone, bradjones1, Berdir: document the reason...,!5627Issue #3261805: Field not saved when change of 0 on string start,!5427Issue #3338518: send credentials in ajax if configured in CORS settings.,!5395Issue #3387916 by fjgarlin, Spokje: Each GitLab job exposes user email,!5217Issue #3386607 by alexpott: Improve spell checking in commit-code-check.sh,!5064Issue #3379522 by finnsky, Gauravvvv, kostyashupenko, smustgrave, Chi: Revert...,!5040SDC ComponentElement: Transform slots scalar values to #plain_text instead of throwing an exception,!4958Issue #3392147: Whitelist IP for a Ban module.,!4894Issue #3280279: Add API to allow sites to opt in to upload SVG images in CKEditor 5,!3106Issue #3017548: "Filtered HTML" text format does not support manual teaser break (<!--break-->),!925Issue #2339235: Remove taxonomy hard dependency on node module,!872Draft: Issue #3221319: Race condition when creating menu links and editing content deletes menu links
Pipeline #24924 failed
Pipeline: drupal

#24933

    Pipeline: drupal

    #24932

      Pipeline: drupal

      #24930

        ......@@ -120,6 +120,7 @@ blocknodebundle
        blockpromoted
        blockquotes
        blockrecipe
        blockrelated
        blocktest
        bloggy
        blub
        ......
        ......@@ -15,12 +15,14 @@ dependencies:
        - field.field.node.recipe.field_tags
        - field.field.node.recipe.layout_builder__layout
        - node.type.recipe
        - views.view.related_recipes
        module:
        - layout_builder
        - layout_discovery
        - options
        - text
        - user
        - views
        theme:
        - umami
        third_party_settings:
        ......@@ -245,6 +247,26 @@ third_party_settings:
        weight: 0
        additional: { }
        third_party_settings: { }
        -
        layout_id: layout_onecol
        layout_settings:
        label: related
        context_mapping: { }
        components:
        3164f99a-0a52-403e-a921-fad17cb6e8c7:
        uuid: 3164f99a-0a52-403e-a921-fad17cb6e8c7
        region: content
        configuration:
        id: 'views_block:related_recipes-related_recipes_block'
        label: ''
        label_display: visible
        provider: views
        context_mapping: { }
        views_label: ''
        items_per_page: none
        weight: 0
        additional: { }
        third_party_settings: { }
        id: node.recipe.full
        targetEntityType: node
        bundle: recipe
        ......
        langcode: en
        status: true
        dependencies:
        config:
        - core.entity_view_mode.node.card
        - node.type.recipe
        module:
        - node
        - user
        id: related_recipes
        label: Related recipes
        module: views
        description: 'Related recipes listing'
        tag: ''
        base_table: node_field_data
        base_field: nid
        display:
        default:
        id: default
        display_title: Default
        display_plugin: default
        position: 0
        display_options:
        title: 'Related recipes'
        fields:
        title:
        id: title
        table: node_field_data
        field: title
        relationship: none
        group_type: group
        admin_label: ''
        entity_type: node
        entity_field: title
        plugin_id: field
        label: ''
        exclude: false
        alter:
        alter_text: false
        make_link: false
        absolute: false
        word_boundary: false
        ellipsis: false
        strip_tags: false
        trim: false
        html: false
        element_type: ''
        element_class: ''
        element_label_type: ''
        element_label_class: ''
        element_label_colon: true
        element_wrapper_type: ''
        element_wrapper_class: ''
        element_default_classes: true
        empty: ''
        hide_empty: false
        empty_zero: false
        hide_alter_empty: true
        click_sort_column: value
        type: string
        settings:
        link_to_entity: true
        group_column: value
        group_columns: { }
        group_rows: true
        delta_limit: 0
        delta_offset: 0
        delta_reversed: false
        delta_first_last: false
        multi_type: separator
        separator: ', '
        field_api_classes: false
        pager:
        type: some
        options:
        offset: 0
        items_per_page: 4
        exposed_form:
        type: basic
        options:
        submit_button: Apply
        reset_button: false
        reset_button_label: Reset
        exposed_sorts_label: 'Sort by'
        expose_sort_order: true
        sort_asc_label: Asc
        sort_desc_label: Desc
        access:
        type: perm
        options:
        perm: 'access content'
        cache:
        type: tag
        options: { }
        empty: { }
        sorts:
        created:
        id: created
        table: node_field_data
        field: created
        relationship: none
        group_type: group
        admin_label: ''
        entity_type: node
        entity_field: created
        plugin_id: date
        order: DESC
        expose:
        label: ''
        field_identifier: ''
        exposed: false
        granularity: second
        arguments:
        nid:
        id: nid
        table: node_field_data
        field: nid
        relationship: none
        group_type: group
        admin_label: ''
        entity_type: node
        entity_field: nid
        plugin_id: node_nid
        default_action: default
        exception:
        value: all
        title_enable: false
        title: All
        title_enable: false
        title: ''
        default_argument_type: node
        default_argument_options: { }
        summary_options:
        base_path: ''
        count: true
        override: false
        items_per_page: 25
        summary:
        sort_order: asc
        number_of_records: 0
        format: default_summary
        specify_validation: false
        validate:
        type: none
        fail: 'not found'
        validate_options: { }
        break_phrase: false
        not: true
        field_recipe_category_target_id:
        id: field_recipe_category_target_id
        table: node__field_recipe_category
        field: field_recipe_category_target_id
        relationship: none
        group_type: group
        admin_label: ''
        plugin_id: numeric
        default_action: default
        exception:
        value: all
        title_enable: false
        title: All
        title_enable: false
        title: ''
        default_argument_type: taxonomy_tid
        default_argument_options:
        term_page: '0'
        node: true
        limit: false
        vids: { }
        anyall: ','
        summary_options:
        base_path: ''
        count: true
        override: false
        items_per_page: 25
        summary:
        sort_order: asc
        number_of_records: 0
        format: default_summary
        specify_validation: false
        validate:
        type: none
        fail: 'not found'
        validate_options: { }
        break_phrase: true
        not: false
        filters:
        status:
        id: status
        table: node_field_data
        field: status
        entity_type: node
        entity_field: status
        plugin_id: boolean
        value: '1'
        group: 1
        expose:
        operator: ''
        operator_limit_selection: false
        operator_list: { }
        type:
        id: type
        table: node_field_data
        field: type
        entity_type: node
        entity_field: type
        plugin_id: bundle
        value:
        recipe: recipe
        expose:
        operator_limit_selection: false
        operator_list: { }
        langcode:
        id: langcode
        table: node_field_data
        field: langcode
        relationship: none
        group_type: group
        admin_label: ''
        entity_type: node
        entity_field: langcode
        plugin_id: language
        operator: in
        value:
        '***LANGUAGE_language_content***': '***LANGUAGE_language_content***'
        group: 1
        exposed: false
        expose:
        operator_id: ''
        label: ''
        description: ''
        use_operator: false
        operator: ''
        operator_limit_selection: false
        operator_list: { }
        identifier: ''
        required: false
        remember: false
        multiple: false
        remember_roles:
        authenticated: authenticated
        reduce: false
        is_grouped: false
        group_info:
        label: ''
        description: ''
        identifier: ''
        optional: true
        widget: select
        multiple: false
        remember: false
        default_group: All
        default_group_multiple: { }
        group_items: { }
        style:
        type: default
        options:
        row_class: ''
        default_row_class: true
        uses_fields: false
        row:
        type: 'entity:node'
        options:
        relationship: none
        view_mode: card
        query:
        type: views_query
        options:
        query_comment: ''
        disable_sql_rewrite: false
        distinct: false
        replica: false
        query_tags: { }
        relationships: { }
        css_class: grid--4
        header: { }
        footer: { }
        display_extenders: { }
        cache_metadata:
        max-age: -1
        contexts:
        - 'languages:language_content'
        - 'languages:language_interface'
        - url
        - 'user.node_grants:view'
        - user.permissions
        tags: { }
        related_recipes_block:
        id: related_recipes_block
        display_title: Block
        display_plugin: block
        position: 1
        display_options:
        display_extenders: { }
        block_description: 'Related recipes'
        block_hide_empty: true
        cache_metadata:
        max-age: -1
        contexts:
        - 'languages:language_content'
        - 'languages:language_interface'
        - url
        - 'user.node_grants:view'
        - user.permissions
        tags: { }
        ......@@ -72,3 +72,7 @@
        .node--type-recipe.node--view-mode-full .field--name-field-difficulty {
        background-image: url(../../../../images/svg/difficulty.svg);
        }
        .node--type-recipe.node--view-mode-full .block-views-blockrelated-recipes-related-recipes-block {
        margin-top: 2rem;
        }
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment