Problem/Motivation

According to https://www.drupal.org/project/drowl_media/issues/3346739 we need a further view mode "Media Object (horizontal)" in the Download Paragraphs view mode selection (field_paragraphs_nodeentityrefvm):

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
view_mode_selection.png9.6 KBthomas.frobieter
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

thomas.frobieter created an issue. See original summary.

thomas.frobieter’s picture

Title: Downloads-Paragraphs: Add further view mode "Media Object" » Attachments-Paragraphs: Add further view mode "Media Object"
anybody’s picture

thomas.frobieter’s picture

Issue summary: View changes
thomas.frobieter’s picture

Title: Attachments-Paragraphs: Add further view mode "Media Object" » Attachments-Paragraphs: Enable further view mode "Media Object"
anybody’s picture

Title: Attachments-Paragraphs: Enable further view mode "Media Object" » Attachments-Paragraphs: add view mode "Media Object"

anybody’s picture

Status: Active » Postponed

@thomas.frobieter looks like no change in paragraphs is required. This isn'T a list_string field type as we though, but entity_reference_display.

So we just have to add the view mode on the media entities as it seems, but I'll check that to be 100% sure.

anybody’s picture

Status: Postponed » Active

Ok seems it still needs changes on these settings in the config.

settings:
  exclude:
    button: button
    card: card
    tile: tile
  negate: 1
anybody’s picture

Add in paragraph.attachments.field_paragraphs_nodeentityrefvm:
media_object: media_object

anybody’s picture

Assigned: anybody » Unassigned
Status: Active » Needs review

Here we go, please review.

anybody’s picture

Status: Needs review » Reviewed & tested by the community

Tested manually and seems to be fine. Let's merge this into dev.

anybody’s picture

Status: Reviewed & tested by the community » Fixed

  • Anybody committed 9c455ffe on 4.x
    Issue #3346743 by Anybody, thomas.frobieter: Attachments-Paragraphs: add...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.