Quantcast
Channel: Issues for Drupal core
Browsing all 295807 articles
Browse latest View live

Core security triage 2025-05-15

Problem/MotivationExplanation: Some full and provisional members of the Drupal Security Team meet fortnightly to triage and discuss private core security issues. These meetings are essential to core...

View Article


Image may be NSFW.
Clik here to view.

"Tasks" and "Index" are nouns that are too abstract

Problem/Motivation/admin shows two local tasks "Tasks" and "Index". In the Drupal tradition these are very abstract nouns that no one understands. When you first hear the word "Tasks" you probably...

View Article


Pass the hook as last argument to method

Problem/MotivationLet's take this hooks implementation method: #[Hook('entity_insert')] #[Hook('entity_update')] #[Hook('entity_delete')] #[Hook('entity_translation_insert')]...

View Article

Make History storage support any entity type

Problem/MotivationConceptually it makes sense for the history module to support any entity type, but historically it only supports node.Proposed resolutionThe service introduced in #3267010: Introduce...

View Article

Support history in views for entity types other than node

Problem/Motivation#3267015: Make History storage support any entity type provides basic history for non-node entity types, but does nothing to support the use of this history in Views.Proposed...

View Article


Make history's frontend code support non-node entity types

Problem/Motivation#3267015: Make History storage support any entity type provides basic history storage for non-node entity types, but does nothing to support the tracking or reading of this history...

View Article

Use caching for history

Problem/MotivationThe History service is sometimes slow. While working on #2081585: [META] Modernize the History module proposals were developed for using a memory cache in the history repository...

View Article

[PP1] Deprecate history procedural functions

Problem/MotivationSince #3267010: Introduce a generic HistoryRepository service without changing storage or caching the history module has redundant procedural functions.Proposed...

View Article


Make HISTORY_READ_LIMIT configurable

Is there a good reason HISTORY_READ_LIMIT is exactly 30 days ago? Shouldn't site administrators be able to configure this interval? I'm currently building a site where members are expected to visit...

View Article


Make history repository optionally support "edit" besides...

Problem/MotivationImagine a mechanism to warn for concurrent edits, that on edit pages has some js that pings the server to signal "still editing", and gets back if another client set such a...

View Article

Warning: Undefined array key 1 getAllDisplayModesByEntityType

Problem/MotivationAfter enabling history (for forum) we get 'Undefined array key 1...' (see below)getAllDisplayModesByEntityType() parses the display_mode ids and expects to find a string:...

View Article

Media::create() should fail gracefully if called with an invalid bundle

Problem/MotivationIt is easy to create a Media entity with a non-existent type (see "Steps to reproduce" below). But saving the entity causes a PHP fatal error.I came across this when defining a...

View Article

Introduce a generic HistoryRepository service without changing storage or...

Problem/MotivationThe history module uses procedural functions to read and write from storage. This makes it hard for other code to alter the functioning of the history.Proposed resolutionIntroduce a...

View Article


Automatic conversion of false to array is deprecated in...

Problem/MotivationI need to remove this line for a our enviroment.Automatic conversion of false to array is deprecated in history_node_view_alter() (line 145 of core/modules/history/history.moduleSteps...

View Article

[META] Modernize the History module

Problem/MotivationThe History service uses procedural functions with logic that is difficult for contrib to modify, and only supports the node entity type.Prior to post #221 these problems were being...

View Article


Replace hook_form_node_form_alter() implementations with configured field...

Problem/MotivationCurrently \Drupal\node\NodeForm::form() and seven_form_node_form_alter() work to split the node form into two columns. This code runs after the entity display.If using the...

View Article

Increase module weight of field_layout

Problem/MotivationIn #2796173-16: Add experimental Field Layout module to allow entity view/form modes to switch between layouts, @swentel points out that Display Suite sets a module weight of 1 to...

View Article


Devise a mechanism for mapping old regions to new ones when moving between...

Problem/MotivationIn #2796173: Add experimental Field Layout module to allow entity view/form modes to switch between layouts, switching between layouts will cause all fields to be moved to...

View Article

Provide a way to exclude fields/entities from field_layout

Hi,In the Bootstrap Paragraphs module, I use two different fields for Width and Background color options on every Paragraph bundle. These are turned into class attributes in the Paragraph bundle...

View Article

Major features from Display Suite that are not in current release of...

The following major functionality that is available in DS /admin/structure/ds is now missing in layout module admin/structure/types/manage/article/displayEnable Field Templates in...

View Article
Browsing all 295807 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>