Consider making entity row renderers plugins

Created on 15 January 2014, over 11 years ago
Updated 21 April 2025, about 1 month ago

Updated: Comment #0

Problem/Motivation

In #2006606: Views rendering ignores entity language, eg: Identical nodes rendered in views when nodes have translations three rendering strategies were introduced for the entity row plugin. These strategies were hard-coded and the only way to alter them currently is subclassing the entity row plugin itself. This obviously does not scale, so it was suggested to make them plugins.

Proposed resolution

  • Evaluate whether there are use cases for additional rendering behaviors.
  • Evaluate whether this gain in flexibility balances the performance penalty introduced by the plugin system.
  • (Possibly) Convert entity row renderers to plugins.

Remaining tasks

  • Agree on a solution
  • Write a patch
  • Fix failing tests
  • Reviews

User interface changes

None

API changes

This may result in a new plugin type to be introduced.

📌 Task
Status

Postponed: needs info

Version

11.0 🔥

Component

views.module

Created by

🇮🇹Italy plach Venezia

Live updates comments and jobs are added and updated live.
  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

  • API addition

    Enhances an existing API or introduces a new subsystem. Depending on the size and impact, possibly backportable to earlier major versions.

  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States smustgrave

    Thank you for creating this issue to improve Drupal.

    We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

Production build 0.71.5 2024