Skip to content
Snippets Groups Projects
Verified Commit dbb54acf 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
parent e1fc76a1
No related branches found
No related tags found
42 merge requests!12227Issue #3181946 by jonmcl, mglaman,!54479.5.x SF update,!5014Issue #3071143: Table Render Array Example Is Incorrect,!3878Removed unused condition head title for views,!38582585169-10.1.x,!3818Issue #2140179: $entity->original gets stale between updates,!3742Issue #3328429: Create item list field formatter for displaying ordered and unordered lists,!3731Claro: role=button on status report items,!3668Resolve #3347842 "Deprecate the trusted",!3651Issue #3347736: Create new SDC component for Olivero (header-search),!3546refactored dialog.pcss file,!3531Issue #3336994: StringFormatter always displays links to entity even if the user in context does not have access,!3502Issue #3335308: Confusing behavior with FormState::setFormState and FormState::setMethod,!3478Issue #3337882: Deleted menus are not removed from content type config,!3452Issue #3332701: Refactor Claro's tablesort-indicator stylesheet,!3451Issue #2410579: Allows setting the current language programmatically.,!3355Issue #3209129: Scrolling problems when adding a block via layout builder,!3226Issue #2987537: Custom menu link entity type should not declare "bundle" entity key,!3154Fixes #2987987 - CSRF token validation broken on routes with optional parameters.,!3147Issue #3328457: Replace most substr($a, $i) where $i is negative with str_ends_with(),!3146Issue #3328456: Replace substr($a, 0, $i) with str_starts_with(),!3133core/modules/system/css/components/hidden.module.css,!31312878513-10.1.x,!2964Issue #2865710 : Dependencies from only one instance of a widget are used in display modes,!2812Issue #3312049: [Followup] Fix Drupal.Commenting.FunctionComment.MissingReturnType returns for NULL,!2614Issue #2981326: Replace non-test usages of \Drupal::logger() with IoC injection,!2378Issue #2875033: Optimize joins and table selection in SQL entity query implementation,!2334Issue #3228209: Add hasRole() method to AccountInterface,!2062Issue #3246454: Add weekly granularity to views date sort,!1591Issue #3199697: Add JSON:API Translation experimental module,!1255Issue #3238922: Refactor (if feasible) uses of the jQuery serialize function to use vanillaJS,!1105Issue #3025039: New non translatable field on translatable content throws error,!1073issue #3191727: Focus states on mobile second level navigation items fixed,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!877Issue #2708101: Default value for link text is not saved,!844Resolve #3036010 "Updaters",!673Issue #3214208: FinishResponseSubscriber could create duplicate headers,!579Issue #2230909: Simple decimals fail to pass validation,!560Move callback classRemove outside of the loop,!555Issue #3202493,!485Sets the autocomplete attribute for username/password input field on login form.,!213Issue #2906496: Give Media a menu item under Content
Pipeline #24621 passed
Pipeline: drupal

#24626

    Pipeline: drupal

    #24625

      Pipeline: drupal

      #24624

        ......@@ -122,6 +122,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 to comment