Do not assume that plugin supporting <tag attr> also supports...
Problem/MotivationIf CKEditor 5 is selected as text editor for the Basic HTML format then the "Language" button is added automatically to the toolbar. This is also the case, if the text editor is...
View ArticleImprove count() for ContentEntity source plugin
Problem/MotivationRetrieving counts of source data when the source data can include translations is troublesome. It isn't possible to just call `$this->query()->count()->execute();` That won't...
View ArticleNotice: Undefined index: value in...
Problem/MotivationNumeric views filter (\Drupal\views\Plugin\views\filter\NumericFilter) and all child filters (Date, SearchApiDate, etc) throw a php notice when using grouped exposed filters with a...
View ArticleAllow removing translations in pending revisions
Problem/MotivationIn #2940890: Don’t allow deleting revision translations in pending revisions we prevented users from deleting translations in pending revisions, otherwise we would not be able to...
View ArticleDrupal 10 readiness meeting / 30 May 2022
Meeting will happen in #d10readiness on drupal.slack.com.Hello and welcome to this Drupal 10 readiness meeting! This meeting: ➤ Is for core and contributed project developers as well as people who have...
View ArticleLayout builder filter leaves blank space
Problem/MotivationThe filtering works fine but when links are hidden the li tags have padding and/or border that stays behind thus taking up space.Steps to reproduceProposed resolutionHide the parent...
View ArticleComment statistics should update when comment changed, not only when created.
Problem/MotivationThe comment statistics for a node are updated only when a new comment is created, or when the most recent comment is updated. When an older comment is updated there is no change to...
View ArticleRemove call_user_func_array() from ModuleHandler::invoke() + invokeAll()
call_user_func_array() is substantially slower than calling a function directly. In fact, it's probably the slowest possible way to call a function. However, Drupal uses cufa()... a lot. All hook calls...
View ArticleAdd hasRole() method to AccountInterface
Problem/MotivationIn #2991232: Add hasRole method to AccountProxy and UserSession classes we added hasRole() implementation to AccountProxy.php and UserSession.php classes. The AccountInterface...
View ArticleAdd a killswitch for dblog and syslog
Problem/MotivationMany Drupal agencies host client websites at different hosting providers, each of them doing logging in different ways. Some hosting providers (Acquia, Platform.sh) suggest using...
View ArticleAdd the container parameter asynchronous
Problem/MotivationThe Swoole PHP Server runs Drupal in CLI mode, instead of the regular mode which is used by Apache or NginX. The Swoole module for Drupal needs to know when the Swoole PHP server is...
View ArticleAllow for deletion of a single value of a multiple value field
Problem/MotivationI'm working on creating a custom field that has multiple entry items in the field. The field would look like this Field 1 - Text Field 2 - Text Field 3 - TextAll would be saved into...
View ArticleFix dynamic property deprecations
Problem/MotivationPHP 8.2 has what is likely to be a hugely disruptive deprecation of dynamic properties. This is used through out core and likely to cause numerous problems. Obviously deprecation...
View ArticleThan, not then
When running tests, I noticed that a test in the file module uses the word "then" instead of the proper word "than".Changing this will have no effect on any code, but will make me feel better. I found...
View ArticleDrupal Usability Meeting 2022-05-27
This meeting takes place every Friday at 14:00 UTC (currently 7:00am PT, 10:00am ET). See Time.is to see what that is in your timezone.The meetings are held using Zoom, and a link is posted in the #ux...
View ArticleUpdate phpstan/phpstan and mglaman/phpstan-drupal to latest versions
Problem/Motivationphpstan/phpstan 1.7.1 is out and gives some performance improvement. However, per https://github.com/phpstan/phpstan/releases/tag/1.7.0,Analysed code is no longer executed, except for...
View ArticleTable display style places custom field class on table cell rather than field...
Steps to reproduce the problemCreate a view using the table display style.Edit the default field added (Content: Title (Title)).Open the "Style Settings" dropdown and check "customize field HTML."...
View ArticleRefactor ToolkitGdTest
Problem/MotivationFrom #3202016-30: Let GDToolkit support AVIF image format:ToolkitGdTest::testManipulations() is a monster that dates back to simpletest when multiple tests were performed in a single...
View ArticleAdjust Rectangle class to calculate rotated image dimensions according to...
Problem/MotivationPHP bugfix https://github.com/php/php-src/commit/22c487616f132ee7ebfa838bce9d14c924... has changed the logic to calculate image dimensions for rotated images, causing Drupal's...
View ArticleAdd permissions to the update.module to hide warnings
Problem/MotivationCurrently the update notification ("Update available") is shown to all users with the permission "administer site configuration", while there is already a permission "administer...
View Article