"Taxonomy term ID from URL" default views argument should have...
Problem/MotivationI have a low Varnish hit ratio on a website, and I'm wondering if it could be due to the fact that many annoying bots may request some pages with dummy URL GET query parameters that...
View ArticleRemove sid_length and sid_bits_per_character from default.services.yml
Problem/MotivationFollow-up from #3465836: PHP 8.4 session.sid_length and session.sid_bits_per_character are deprecated. We can probably just remove these altogether and rely on the PHP defaults.For...
View ArticleRemove array_filter from FieldInstanceSettings
Problem/MotivationWhile migration field instances: $ drush migrate-import upgrade_d7_field_instance [warning] array_filter() expects parameter 1 to be array, null given FieldInstanceSettings.php:47...
View ArticlegetCreatedTime returns string instead of integer
Problem/MotivationThe phpdocs of getCreatedTime mention that the timestamp will be returned as integer. While it is currently returning a string. This leads to bugs when you do strict comparison with...
View ArticleQuerying with NULL values results in warning mb_strtolower(): Passing null to...
Problem/MotivationThis issue was originally brought into focus when PHP 8.1 was introduced.Error message when enabling modules:Deprecated function: mb_strtolower(): Passing null to parameter #1...
View ArticlePHP8.1 deprecation: str_replace(): Passing null to parameter #3
Problem/MotivationI tried to find related issues in the meta #3220021: [meta] Ensure compatibility of Drupal 9 with PHP 8.1 (as it evolves) but failed, sorry if this is a duplicate. I'm upgrading an...
View ArticleIf computed view argument is empty the default value or action is not used
Problem/MotivationIf you pass an empty string as argument, the argument is applied to the view query while an argument with value NULL is not. Example: $arguments = [ 0 => '', // is processed in...
View ArticleExplore converting Install and Theme hook implementations to OOP
Problem/MotivationOOP hooks are coming. Install hooks are particularly problematic. Ghost of Drupal Past has a POC for adding the...
View Article[pp-many] Deprecate hook_requirements
Problem/MotivationDeprecate hook_requirementsSteps to reproduceProposed resolutionRemaining tasksUser interface changesIntroduced terminologyAPI changesData model changesRelease notes snippet
View ArticleReset static entity cache on POST requests in tests
Problem/MotivationWe already reset quite a few things when doing POST requests, like statically cached config. We didn't do it for entities because we didn't have an API for that for a long time.Doing...
View ArticleCreate class to replace hook_install_requirements
Problem/MotivationHook requirements uses phase right now to manage whether it is runtime, install, or update. Let's move the install portion to a class so we can inject some services and more easily...
View Article[meta] Replace hook_requirements with OOP classes
Problem/MotivationMany hook_requirements implementations have dependencies that are not explicit, and are difficult to test due to a lack of dependency injection.Steps to reproduceN/AProposed...
View Article[pp-3] Convert hook_requirements to new classes or hook_runtime_requirements
Problem/MotivationMany hook_requirements implementations have dependencies that are not explicit, and are difficult to test due to a lack of dependency injection.Postponed on:Create...
View ArticleCreate hook_update_requirements
Problem/MotivationHook requirements uses phase right now to manage whether it is runtime, install, or update. Let's move the update portion. Create a new hook_update_requirements.It is currently...
View ArticleCreate hook_runtime_requirements
Problem/MotivationHook requirements uses phase right now to manage whether it is runtime, install, or update.This leads to significant complexity. As it stands hook_runtime can easily be an OOP...
View ArticleAdd a link to change the language of a node
I have created a node of a content type in Thai, then changed the content type language to English but the node stays in Thai and don't find a way to change it to English so I suggest: Add a link to...
View ArticleAllow consumers to pre-establish this version string based on the...
Problem/MotivationIIUC, the database connection logic in Drupal core depends on PDO's ATTR_SERVER_VERSION attribute to determine database language constructs etc. This attribute instantiates a...
View Articleadding imageStyle:blockRight
Problem/MotivationRight now CKEditor shows an option to display an image as "block" wrap text, left, center and right, but not a block right (see attached image). Steps to reproduceEnable image...
View ArticleExpose install document_root
Problem/MotivationWhen installing, we don't know the path where the new drupal install will be created into ( ie: $_SERVER['DOCUMENT_ROOT']) This would be a time safer for more elaborated machines with...
View ArticleUpdate lifecycle link for sdc
Problem/MotivationFrom the admin/modules page in Drupal 10.3 we currently have:Help Topics (Deprecated)Single-Directory Components (Deprecated)The link to the specific information for Help Topics is...
View Article