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"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 ArticlePass 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 ArticleMake 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 ArticleSupport 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 ArticleMake 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 ArticleUse 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 ArticleMake 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 ArticleMake 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 ArticleWarning: 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 ArticleMedia::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 ArticleIntroduce 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 ArticleAutomatic 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 ArticleReplace 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 ArticleIncrease 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 ArticleDevise 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 ArticleProvide 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 ArticleMajor 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